#include <Mail.h>
Public Member Functions | |
bool | Open (GSocketI *S, const char *RemoteHost, const char *LocalDomain, const char *UserName, const char *Password, int Port=SMTP_PORT, int Flags=0) |
Connection setup/shutdown. | |
bool | Close () |
Close the connection. | |
GStringPipe * | SendStart (List< AddressDescriptor > &To, AddressDescriptor *From, MailProtocolError *Err=0) |
bool | SendEnd (GStringPipe *Sink) |
Finishes the mail send. |
GStringPipe * MailSmtp::SendStart | ( | List< AddressDescriptor > & | To, | |
AddressDescriptor * | From, | |||
MailProtocolError * | Err = 0 | |||
) | [virtual] |
Write the email's contents into the GStringPipe returned from SendStart and then call SendEnd to finish the transaction
Implements MailSink.