[ROOT] --> small

class CSMTPMessage

Author:
unascribed

Version:
unknown

Source:
Smtp.h:108

Friends:
 friend class CSMTPConnection ;

Constructors Index

CSMTPMessage
[public]
~CSMTPMessage
[public]


Enums Index

RECIPIENT_TYPE
[public]


Variables Index

m_Attachments
[protected]
m_BCCRecipients
[protected]
m_CCRecipients
[protected]
m_From
[public]
m_ReplyTo
[public]
m_sBody
[protected]
m_sSubject
[public]
m_sXMailer
[public]
m_ToRecipients
[protected]


Methods Index

AddAttachment
[public]
AddBody
[public]
AddMultipleRecipients
[public]
AddRecipient
[public]
FixSingleDot
[protected]
GetAttachment
[public]
GetHeader
[public]
GetNumberOfAttachments
[public]
GetNumberOfRecipients
[public]
GetRecipient
[public]
RemoveAttachment
[public]
RemoveRecipient
[public]


Constructors

CSMTPMessage

public CSMTPMessage ( ) ;

CSMTPMessage

public ~ CSMTPMessage ( ) ;


Enums

RECIPIENT_TYPE

public enum RECIPIENT_TYPE { TO ,
                             CC ,
                             BCC } ;


Variables

m_From

public CSMTPAddress m_From

m_sSubject

public CString m_sSubject

m_sXMailer

public CString m_sXMailer

m_ReplyTo

public CSMTPAddress m_ReplyTo

m_sBody

protected CString m_sBody

m_ToRecipients

protected CArray < CSMTPAddress ,
                                  CSMTPAddress & > m_ToRecipients

m_CCRecipients

protected CArray < CSMTPAddress ,
                                  CSMTPAddress & > m_CCRecipients

m_BCCRecipients

protected CArray < CSMTPAddress ,
                                  CSMTPAddress & > m_BCCRecipients

m_Attachments

protected CArray < CSMTPAttachment * ,
                                       CSMTPAttachment * & > m_Attachments


Methods

GetNumberOfRecipients

public int GetNumberOfRecipients ( RECIPIENT_TYPE RecipientType = TO ) const ;

AddRecipient

public int AddRecipient ( CSMTPAddress & recipient ,
                          RECIPIENT_TYPE RecipientType = TO ) ;

RemoveRecipient

public void RemoveRecipient ( int nIndex ,
                              RECIPIENT_TYPE RecipientType = TO ) ;

GetRecipient

public CSMTPAddress GetRecipient ( int nIndex ,
                                   RECIPIENT_TYPE RecipientType = TO ) const ;

GetNumberOfAttachments

public int GetNumberOfAttachments ( ) const ;

AddAttachment

public int AddAttachment ( CSMTPAttachment * pAttachment ) ;

RemoveAttachment

public void RemoveAttachment ( int nIndex ) ;

GetAttachment

public CSMTPAttachment * GetAttachment ( int nIndex ) const ;

GetHeader

public virtual CString GetHeader ( ) const ;

AddBody

public void AddBody ( const CString & sBody ) ;

AddMultipleRecipients

public BOOL AddMultipleRecipients ( const CString & sRecipients ,
                                    RECIPIENT_TYPE RecipientType ) ;

FixSingleDot

protected void FixSingleDot ( CString & sBody ) ;


This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to submit a bug report or feature request.

Click here to return to the top of the page.