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.


Detailed Description

Connect to a SMTP server and send mail.

Author:
Jan-Henrik Haukeland, <hauk@tildeslash.com>
Version:
$Id: sendmail.c,v 1.10 2002/12/21 13:56:04 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().