NetBurner 3.5.0
PDF Version |
|
Send Emails with SMTP. More...
Go to the source code of this file.
Functions | |
int | SendMail (IPADDR smtp_server, PCSTR userid, PCSTR from_addr, PCSTR to_addr, PCSTR subject, PCSTR textbody) |
Send an email message. The function will open a TCP connection to the specified SMTP server, create a message based on the parameters, and send the message. | |
int | SendMailAuth (IPADDR smtp_server, PCSTR userid, PCSTR pass, PCSTR from_addr, PCSTR to_addr, PCSTR subject, PCSTR textbody) |
Send an email message with plain text authentication. The function will open a TCP connection to the specified SMTP server, create a message based on the parameters, and send the message. | |
int | SendMailEx (IPADDR smtp_server, PCSTR userid, PCSTR from_addr_rev_path, PCSTR from_addr_memo_hdr, PCSTR to_addr, PCSTR subject, PCSTR textbody) |
Send an email message function, extended version. | |
int | IsMailError () |
Returns the error status of the last send mail transaction. | |
void | PrintNBError (int fd=0) |
If an error occurred, prints the error information received from the SMTP server. | |
void | PrintServerLog (int fd=0) |
Prints the server log of the last send mail transaction. | |
int | SendMailAuthStartMIME (IPADDR smtp_server, PCSTR userid, PCSTR pass, PCSTR from_addr, PCSTR to_addr, PCSTR subject, int &fd) |
Start a Multi-purpose Internet Mail Extension (MIME)session. | |
int | SendMailAuthAddMIME (int fd, int ContentType, const char *pContent, const char *FileName) |
Add a MIME part or attachment to an open MIME Session. | |
int | SendMailAuthEndMIME (int fd, PCSTR userid) |
Send a MIME email message and close the SMTP session. | |
enum | CONTENT_TYPE_ENUM { CONTENT_TYPE_PLAIN_TEXT , CONTENT_TYPE_PLAIN_TEXT_ATTACH , CONTENT_TYPE_BINARY_ATTACH , CONTENT_TYPE_HTML_DECOMP , CONTENT_TYPE_END } |
SMTP MIME Conetnet Types. More... | |
Send Emails with SMTP.