MailSmtp Class Reference

SMTP implementation. More...

#include <Mail.h>

Inheritance diagram for MailSmtp:

MailSink MailProtocol

List of all members.

Public Member Functions

bool Open (GSocketI *S, char *RemoteHost, char *LocalDomain, char *UserName, char *Password, int Port=SMTP_PORT, int Flags=0)
 Connection setup/shutdown.
bool Close ()
 Close the connection.
GStringPipeSendStart (List< AddressDescriptor > &To, AddressDescriptor *From, MailProtocolError *Err=0)
bool SendEnd (GStringPipe *Sink)
 Finishes the mail send.

Detailed Description

SMTP implementation.

Member Function Documentation

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.

The documentation for this class was generated from the following files:

Generated on Wed Dec 1 15:41:05 2010 for Lgi by  doxygen