01-19-2011
Thank you for your help! I'm a little confused by what you mean though - where are you referring to the use of connection::getchar?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
I am not sure if this is the correct place for this question, and if not, please move this to the correct forum
I have Linux machine that is capable of sending emails via sendmail
I have another Windows machine on which I have PHP installed
I would like PHP on the Windows machine to... (0 Replies)
Discussion started by: jasongr
0 Replies
2. UNIX for Advanced & Expert Users
Hi,
We had an upgrade today morning and since then mailx command is not working.
I have been told to change the DNS to use host name as smtp.companyname.com instead of the IP address.
Can someone please help me out to know where can I change this on a Unix Server.
Thanks
Aman (5 Replies)
Discussion started by: chawlaaman
5 Replies
3. Solaris
im running Solaris9.
sendmail version 8.13
every now and then my smtp server is being blacklisted resulting to relay denied to some of my client.
what is the very first thing i have to implement?
thanks (1 Reply)
Discussion started by: uwagon
1 Replies
4. AIX
Hello,
Looking for Document how to install / configure SMTP Server on AIX 6.1
is it through smitty menu ? (3 Replies)
Discussion started by: filosophizer
3 Replies
5. Shell Programming and Scripting
i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies
6. Ubuntu
Is there any way to create an SMTP mail server will all granular permissions to it so that I can read emails which that server receives through any scripting language and also reply from the same server automatically? (3 Replies)
Discussion started by: sandeepcm
3 Replies
7. UNIX for Dummies Questions & Answers
hi guys
I have to configure a SMTP server using Postfix, ok let me tell the domain is located at godaddy so my smtp postfix server has to use that domain let's say mycompany.com
so anyone knows how to configure postfix using this way?
or postfix is easy to configure?
thanks a lot (3 Replies)
Discussion started by: karlochacon
3 Replies
8. UNIX for Dummies Questions & Answers
Hi there,
I have a dedicated server that sends mail with own smtp (obviously).
On this server I have a web platform for music artists that allows entries for each enrollment and sends confirmation e-mails and so on ...
Now I have purchased a service smtp (like those of smtp.com) because I... (3 Replies)
Discussion started by: colorsthink
3 Replies
9. Red Hat
Hi,
We current use an email/hosted exchange server (provided by 3rd party company).
Our production DNS (RH5) server has got the MX rec configured for this 3rd party mail relay server. So in order to resolve hostnames to send outbound mails an A record entry is also required on the external... (1 Reply)
Discussion started by: Duffs22
1 Replies
10. Web Development
Hello list,
I want to be able to send email directly from my linux box. I have both a CentOS and Debian installation. I am by no means an expert when it comes to all of the SMTP servers. I have been testing different configs by installing and uninstalling sendmail, postfix, and exim4.
... (2 Replies)
Discussion started by: landossa
2 Replies
GETC(3S) GETC(3S)
NAME
getc, getchar, fgetc, getw - get character or word from stream
SYNOPSIS
#include <stdio.h>
int getc(stream)
FILE *stream;
int getchar()
int fgetc(stream)
FILE *stream;
int getw(stream)
FILE *stream;
DESCRIPTION
Getc returns the next character from the named input stream.
Getchar() is identical to getc(stdin).
Fgetc behaves like getc, but is a genuine function, not a macro; it may be used to save object text.
Getw returns the next word from the named input stream. It returns the constant EOF upon end of file or error, but since that is a good
integer value, feof and ferror(3) should be used to check the success of getw. Getw assumes no special alignment in the file.
SEE ALSO
fopen(3), putc(3), gets(3), scanf(3), fread(3), ungetc(3)
DIAGNOSTICS
These functions return the integer constant EOF at end of file or upon read error.
A stop with message, `Reading bad file', means an attempt has been made to read from a stream that has not been opened for reading by
fopen.
BUGS
The end-of-file return from getchar is incompatible with that in UNIX editions 1-6.
Because it is implemented as a macro, getc treats a stream argument with side effects incorrectly. In particular, `getc(*f++);' doesn't
work sensibly.
GETC(3S)