MailSender Class Reference

#include <mailsender.h>

List of all members.

Public Types

enum  Priority { high, normal, low }
enum  ContentType { text, html, multipartmixed }
enum  Encoding { _7bit, _8bit, base64 }
enum  ISO { utf8, iso88591 }

Public Member Functions

 MailSender (const QString &smtpServer, const QString &from, const QStringList &to, const QString &subject, const QString &body)
 ~MailSender ()
bool send ()
QString lastError ()
QString lastCmd ()
QString lastResponse ()
QString lastMailData ()
void setSmtpServer (const QString &smtpServer)
void setPort (int port)
void setTimeout (int timeout)
void setLogin (const QString &login, const QString &passwd)
void setSsl (bool ssl)
void setCc (const QStringList &cc)
void setBcc (const QStringList &bcc)
void setAttachments (const QStringList &attachments)
void setReplyTo (const QString &replyTo)
void setPriority (Priority priority)
void setFrom (const QString &from)
void setTo (const QStringList &to)
void setSubject (const QString &subject)
void setBody (const QString &body)
void setFromName (const QString &fromName)
void setContentType (ContentType contentType)
void setISO (ISO iso)
void setEncoding (Encoding encoding)
void setProxyAuthenticator (const QAuthenticator &authenticator)


Detailed Description

Definition at line 14 of file mailsender.h.


Member Enumeration Documentation

Enumerator:
text 
html 
multipartmixed 

Definition at line 26 of file mailsender.h.

Enumerator:
_7bit 
_8bit 
base64 

Definition at line 32 of file mailsender.h.

Enumerator:
utf8 
iso88591 

Definition at line 38 of file mailsender.h.

Enumerator:
high 
normal 
low 

Definition at line 20 of file mailsender.h.


Constructor & Destructor Documentation

MailSender::MailSender ( const QString &  smtpServer,
const QString &  from,
const QStringList &  to,
const QString &  subject,
const QString &  body 
)

Definition at line 65 of file mailsender.cpp.

Here is the call graph for this function:

MailSender::~MailSender (  ) 

Definition at line 80 of file mailsender.cpp.


Member Function Documentation

QString MailSender::lastCmd (  )  [inline]

Definition at line 48 of file mailsender.h.

Here is the caller graph for this function:

QString MailSender::lastError (  )  [inline]

Definition at line 47 of file mailsender.h.

Here is the caller graph for this function:

QString MailSender::lastMailData (  )  [inline]

Definition at line 50 of file mailsender.h.

QString MailSender::lastResponse (  )  [inline]

Definition at line 49 of file mailsender.h.

Here is the caller graph for this function:

bool MailSender::send (  ) 

Definition at line 392 of file mailsender.cpp.

Here is the caller graph for this function:

void MailSender::setAttachments ( const QStringList &  attachments  )  [inline]

Definition at line 59 of file mailsender.h.

Here is the caller graph for this function:

void MailSender::setBcc ( const QStringList &  bcc  )  [inline]

Definition at line 58 of file mailsender.h.

void MailSender::setBody ( const QString &  body  )  [inline]

Definition at line 65 of file mailsender.h.

Here is the caller graph for this function:

void MailSender::setCc ( const QStringList &  cc  )  [inline]

Definition at line 57 of file mailsender.h.

Here is the caller graph for this function:

void MailSender::setContentType ( ContentType  contentType  )  [inline]

Definition at line 67 of file mailsender.h.

Here is the caller graph for this function:

void MailSender::setEncoding ( Encoding  encoding  ) 

Definition at line 110 of file mailsender.cpp.

Here is the caller graph for this function:

void MailSender::setFrom ( const QString &  from  ) 

Definition at line 88 of file mailsender.cpp.

Here is the caller graph for this function:

void MailSender::setFromName ( const QString &  fromName  )  [inline]

Definition at line 66 of file mailsender.h.

void MailSender::setISO ( ISO  iso  ) 

Definition at line 95 of file mailsender.cpp.

Here is the caller graph for this function:

void MailSender::setLogin ( const QString &  login,
const QString &  passwd 
) [inline]

Definition at line 55 of file mailsender.h.

Here is the caller graph for this function:

void MailSender::setPort ( int  port  )  [inline]

Definition at line 53 of file mailsender.h.

Here is the caller graph for this function:

void MailSender::setPriority ( Priority  priority  )  [inline]

Definition at line 61 of file mailsender.h.

Here is the caller graph for this function:

void MailSender::setProxyAuthenticator ( const QAuthenticator &  authenticator  ) 

Definition at line 545 of file mailsender.cpp.

void MailSender::setReplyTo ( const QString &  replyTo  )  [inline]

Definition at line 60 of file mailsender.h.

void MailSender::setSmtpServer ( const QString &  smtpServer  )  [inline]

Definition at line 52 of file mailsender.h.

Here is the caller graph for this function:

void MailSender::setSsl ( bool  ssl  )  [inline]

Definition at line 56 of file mailsender.h.

Here is the caller graph for this function:

void MailSender::setSubject ( const QString &  subject  )  [inline]

Definition at line 64 of file mailsender.h.

Here is the caller graph for this function:

void MailSender::setTimeout ( int  timeout  )  [inline]

Definition at line 54 of file mailsender.h.

Here is the caller graph for this function:

void MailSender::setTo ( const QStringList &  to  )  [inline]

Definition at line 63 of file mailsender.h.

Here is the caller graph for this function:


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

Generated on Mon Jun 15 15:34:33 2009 for Allevo I Costcalculation by  doxygen 1.5.9