![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cMailSMTPClient.h>
Public Member Functions | |
| cMailSMTPClient () | |
| ~cMailSMTPClient () | |
| HRESULT | SendMail (cNetAddrName *pGatewayAddr, const char *pszSrcHost, cMailMessage &msg) |
| const char * | get_LastResponse () const |
| UNITTEST_FRIEND (cMailSMTPClient) | |
Static Public Attributes | |
| static const NET_PORT_t | k_IPPORT_SMTP = 25 |
| default port for destination SMTP server/gateway.. dupe from <winsock.h> More... | |
Protected Member Functions | |
| HRESULT | SendLineN (cNetSocket &Socket, const char *pszLine, StrLen_t iLen) |
| HRESULT _cdecl | SendLineF (cNetSocket &Socket, const char *pszFormat,...) |
Protected Attributes | |
| cStringA | m_sResponse |
| store response from SendMail() -> ReceiveResponse() More... | |
SMTP Mail sending client/helper class. send message to SMTP server.
| GrayLib::cMailSMTPClient::cMailSMTPClient | ( | ) |
| GrayLib::cMailSMTPClient::~cMailSMTPClient | ( | ) |
|
inline |
|
protected |
|
protected |
Send a command line. Assume the line is terminated correctly. HTTP_CR or
depending.
| HRESULT GrayLib::cMailSMTPClient::SendMail | ( | cNetAddrName * | pGatewayAddr, |
| const char * | pszSrcHost, | ||
| cMailMessage & | msg | ||
| ) |
Send a STMP mail message. See RFC 821 for more on this. default mail port = 25 (normally)
| GrayLib::cMailSMTPClient::UNITTEST_FRIEND | ( | cMailSMTPClient | ) |
|
static |
default port for destination SMTP server/gateway.. dupe from <winsock.h>
|
protected |
store response from SendMail() -> ReceiveResponse()