sendmail.c File Reference

Connect to a SMTP server and send mail. More...

Go to the source code of this file.

Functions

void sendmail (Mail_T mail)
 Send SMTP mail messages. More...


Detailed Description

Connect to a SMTP server and send mail.

Author:
Jan-Henrik Haukeland, <hauk@tildeslash.com>
Version:
$Id: sendmail.c,v 1.9 2002/09/06 18:13:37 hauk Exp $

Definition in file sendmail.c.


Function Documentation

void sendmail Mail_T    mail
 

Send SMTP mail messages.

Parameters:
mail  A mymail struct object

Definition at line 78 of file sendmail.c.

References mymail::from, get_localhostname(), get_RFC1123date(), mymail::message, mymail::next, mymail::opt_message, prog, SMTP_TIMEOUT, mymail::subject, mymail::to, and VERSION.

Referenced by spawn().