#include <SMTPClient.h>
Inheritance diagram for oasys::SMTPClient:
Definition at line 50 of file SMTPClient.h.
Public Member Functions | |
SMTPClient (const char *logpath="/oasys/smtp/client") | |
Default constructor. | |
int | send_message (SMTPSender *sender) |
Send a message using the SMTPSender interface. | |
Protected Attributes | |
BufferedInput | in_ |
BufferedOutput | out_ |
SMTP | smtp_ |
bool | first_session_ |
oasys::SMTPClient::SMTPClient | ( | const char * | logpath = "/oasys/smtp/client" |
) |
int oasys::SMTPClient::send_message | ( | SMTPSender * | sender | ) |
Send a message using the SMTPSender interface.
Returns 0 on success, an SMTP error code on failure.
Definition at line 52 of file SMTPClient.cc.
References oasys::SMTP::client_session(), first_session_, and smtp_.
BufferedInput oasys::SMTPClient::in_ [protected] |
Definition at line 60 of file SMTPClient.h.
BufferedOutput oasys::SMTPClient::out_ [protected] |
Definition at line 61 of file SMTPClient.h.
SMTP oasys::SMTPClient::smtp_ [protected] |
bool oasys::SMTPClient::first_session_ [protected] |