#include <dsSMTP.h>
Public Methods | |
dsSMTP () | |
dsSMTP (const char *relay, int port=25) | |
~dsSMTP () | |
void | Connect (const char *relay, int port=25) |
void | Close () |
void | Send (const char *to, const char *from, const char *mes, const int len) |
void | Send (const char *to, const char *from, std::istream &mes) |
void | Send (const char *to, const char *from, const char *mes) |
void | ETRN (const char *relay, const char *domain) |
|
|
|
|
|
|
|
Send QUIT command and close socket |
|
Open conection to relay and send HELO command |
|
|
|
|
|
|
|
Send message it self. You can add custom header to message: eg: Subject: test |