Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

EmailService Class Reference

Provides the Qt Extended Email service. More...

    #include <EmailService>

Inherits QtopiaAbstractService.

Public Slots

Additional Inherited Members


Detailed Description

Provides the Qt Extended Email service.

The Email service enables applications to access features of the system's e-mail application.


Member Function Documentation

void EmailService::cleanupMessages ( const QDate & date, int size )   [slot]

This function is deprecated.

Direct the Email service to purge all messages which are older than the given date and exceed the minimal mail size. This is typically called by the cleanup wizard.

This slot corresponds to the QCop service message Email::cleanupMessages(QDate,int).

void EmailService::emailVCard ( const QString & filename, const QString & description )   [slot]

Direct the Email service to interact with the user to compose a new e-mail message for sending the vcard data in filename. The description argument provides an optional descriptive text message.

This slot corresponds to the QCop service message Email::emailVCard(QString,QString).

void EmailService::emailVCard ( const QDSActionRequest & request )   [slot]

This is an overloaded member function, provided for convenience.

Direct the Email service to interact with the user to compose a new e-mail message for sending the vcard data in request.

This slot corresponds to a QDS service with a request data type of "text/x-vcard" and no response data.

This slot corresponds to the QCop service message Email::emailVCard(QDSActionRequest).

void EmailService::viewMail ()   [slot]

Direct the Email service to display the user's message boxes.

This slot corresponds to the QCop service message Email::viewMail().

void EmailService::viewMail ( const QMailMessageId & id )   [slot]

This function is deprecated.

This is an overloaded member function, provided for convenience.

Direct the Email service to display the message identified by id.

This slot corresponds to the QCop service message Email::viewMail(QMailMessageId).

void EmailService::writeMail ()   [slot]

Direct the Email service to interact with the user to compose a new e-mail message, and then, if confirmed by the user, send the message.

This slot corresponds to the QCop service message Email::writeMail().

void EmailService::writeMail ( const QString & name, const QString & address )   [slot]

This is an overloaded member function, provided for convenience.

Direct the Email service to interact with the user to compose a new e-mail message, and then, if confirmed by the user, send the message. The message is sent to name at address.

This slot corresponds to the QCop service message Email::writeMail(QString,QString).

void EmailService::writeMessage ( const QString & name, const QString & email, const QStringList & docAttachments, const QStringList & fileAttachments )   [slot]

This function is deprecated.

Clients of this service should instead use Messages::composeMessage(QMailMessage::MessageType, QMailAddressList, QString, QString, QContentList, QMailMessage::AttachmentsAction).

Direct the Email service to interact with the user to compose a new e-mail message, and then, if confirmed by the user, send the message. The message is sent to name at email. The initial body of the message will be based on docAttachments and fileAttachments. The resulting message will contains links to the files passed as attachments, unless the attached files are under the path returned by Qtopia::tempDir(). In this case, the data of the files is copied into the resulting message. Linked attachment files must remain accessible to qtmail until the message is transmitted.

This message will choose the best message transport for the message, which may be e-mail, SMS, MMS, etc. This is unlike writeMail(), which will always use e-mail.

This slot corresponds to the QCop service message Email::writeMessage(QString,QString,QStringList,QStringList).


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3