Message delivery functions and datatypes. More...
Go to the source code of this file.
Data Structures | |
struct | SMFSmtpStatus_T |
SMTP status informations. More... | |
Functions | |
SMFSmtpStatus_T * | smf_smtp_status_new (void) |
Creates a new SMFSmtpStatus_T object. | |
void | smf_smtp_status_free (SMFSmtpStatus_T *status) |
Free SMFSmtpStatus_T object. | |
SMFSmtpStatus_T * | smf_smtp_deliver (SMFEnvelope_T *env, SMFTlsOption_T tls, char *msg_file, char *sid) |
Deliver a message via smtp. | |
Message delivery functions and datatypes.
If you need to send a message to a host via SMTP, use smf_smtp_deliver(). Envelope informations must be stored in a SMFEnvelope_T object, a session id is optional.
SMFSmtpStatus_T* smf_smtp_deliver | ( | SMFEnvelope_T * | env, |
SMFTlsOption_T | tls, | ||
char * | msg_file, | ||
char * | sid | ||
) |
Deliver a message via smtp.
env | a SMFEnvelope_T object |
tls | enable/disable TLS for connection |
msg_file | alternate message content |
sid | optional session id for logging |
void smf_smtp_status_free | ( | SMFSmtpStatus_T * | status | ) |
Free SMFSmtpStatus_T object.
status | SMFSmtpStatus_T object |
SMFSmtpStatus_T* smf_smtp_status_new | ( | void | ) |
Creates a new SMFSmtpStatus_T object.