#include <SMTPClient.h>
Definition at line 70 of file SMTPClient.h.
Public Member Functions | |
| SMTPFdClient (int fd_in, int fd_out, const char *logpath="/oasys/smtp/client") | |
| Default constructor. | |
| int | send_message (SMTPSender *sender) |
| Send a message using the SMTPSender interface. | |
Protected Attributes | |
| FdIOClient | fdio_in_ |
| FdIOClient | fdio_out_ |
| BufferedInput | in_ |
| BufferedOutput | out_ |
| SMTP | smtp_ |
| bool | first_session_ |
| oasys::SMTPFdClient::SMTPFdClient | ( | int | fd_in, | |
| int | fd_out, | |||
| const char * | logpath = "/oasys/smtp/client" | |||
| ) |
| int oasys::SMTPFdClient::send_message | ( | SMTPSender * | sender | ) |
Send a message using the SMTPSender interface.
Returns 0 on success, an SMTP error code on failure.
Definition at line 68 of file SMTPClient.cc.
References oasys::SMTP::client_session(), first_session_, and smtp_.
FdIOClient oasys::SMTPFdClient::fdio_in_ [protected] |
Definition at line 81 of file SMTPClient.h.
FdIOClient oasys::SMTPFdClient::fdio_out_ [protected] |
Definition at line 82 of file SMTPClient.h.
BufferedInput oasys::SMTPFdClient::in_ [protected] |
Definition at line 83 of file SMTPClient.h.
BufferedOutput oasys::SMTPFdClient::out_ [protected] |
Definition at line 84 of file SMTPClient.h.
SMTP oasys::SMTPFdClient::smtp_ [protected] |
bool oasys::SMTPFdClient::first_session_ [protected] |
1.5.1