     /* Prefix smtp_ is reserved */
     #include <mailutils/smtp.h>

Simple Mail Transfer Protocol. Not implemented.

Commands
--------

Initialization
..............

 -- Function: int smtp_create (smtp_t *)

 -- Function: void smtp_destroy (smtp_t *)

 -- Function: int smtp_open (smtp_t, const char *HOST, unsigned int PORT, int FLAGS)

Data
....

 -- Function: int smtp_data (smtp_t, stream_t STREAM)

Helo
....

 -- Function: int smtp_helo (smtp_t, const char *DOMAIN)

 -- Function: int smtp_ehlo (smtp_t, const char *DOMAIN)

Expn
....

 -- Function: int smtp_expn (smtp_t, const char *LIST, iterator_t *)

Help
....

 -- Function: int smtp_help (smtp_t, const char *HELP, iterator_t *)

Mail From
.........

 -- Function: int smtp_mail_from (smtp_t, const char *ADDRESS, const char *PARAM)

Noop
....

 -- Function: int smtp_noop (smtp_t)

Quit
....

 -- Function: int smtp_quit (smtp_t)

Recpt To
........

 -- Function: int smtp_rcpt_to (smtp_t, const char *ADDRESS, const char *PARAM)

Reset
.....

 -- Function: int smtp_reset (smtp_t)

Verify
......

 -- Function: int smtp_verify (smtp_t, const char *USER)

Help functions
..............

 -- Function: extern int smtp_readline (smtp_t, char *BUFFER, size_t LEN, size_t *LEN)

 -- Function: extern int smtp_response (smtp_t, char *BUFFER, size_t LEN, size_t *LEN)

 -- Function: extern int smtp_writeline (smtp_t, const char *FORMAT, ...)

 -- Function: extern int smtp_sendline (smtp_t, const char *LINE)

 -- Function: extern int smtp_send (smtp_t