Go to the first, previous, next, last section, table of contents.


SMTP

/* 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


Go to the first, previous, next, last section, table of contents.