Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

apps/smtp/smtp.h File Reference


Detailed Description

SMTP header file.

Author:
Adam Dunkels <adam@dunkels.com>

#include "uipopt.h"

Include dependency graph for smtp.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Defines

#define SMTP_ERR_OK   0
 Error number that signifies a non-error condition.

#define UIP_APPCALL   smtp_appcall
 The name of the application function that uIP should call in response to TCP/IP events.

#define UIP_APPSTATE_SIZE   (sizeof(struct smtp_state))
 The size of the application state that is to be stored in the uip_conn structure.


Functions

void smtp_done (unsigned char error)
 Callback function that is called when an e-mail transmission is done.

void smtp_configure (char *localhostname, u16_t *smtpserver)
 Specificy an SMTP server and hostname.

unsigned char smtp_send (char *to, char *from, char *subject, char *msg, u16_t msglen)
 Send an e-mail.


Generated on Tue Oct 7 15:51:14 2003 for uIP 0.9 by doxygen 1.3.3