Re: how to send email in a client application

2002-08-21 Thread Gordon Messmer
On Wed, 2002-08-21 at 06:59, Wai Iu wrote: > I have a redhat7.2 system running. I have an application wrriten with C language. > Is there any way that I can send out simple text-based email in that application, >such as using SMTP, POP3? Any suggestion will be appreciated. Use libESMTP: http://w

Re: how to send email in a client application

2002-08-21 Thread Tim Kehres
Hello, I'm assming you are running sendmail. If not the procedures will be slightly different but close. If you have a shell script, simply construct your message either on the fly, or through a temporary file. Then send it to sendmail via a pipe: $ cat | /usr/sbin/sendmail -f Of course

Re: how to send email in a client application

2002-08-21 Thread Paul Branston
On Wed, Aug 21, 2002 at 09:59:34AM -0400, Wai Iu wrote: > I have a redhat7.2 system running. I have an application wrriten with C language. > Is there any way that I can send out simple text-based email in that application, >such as using SMTP, POP3? Any suggestion will be appreciated. > There