email_plat/email_services_api/email_services_api.h
changeset 75 47d84de1c893
parent 72 64e38f08e49c
equal deleted inserted replaced
72:64e38f08e49c 75:47d84de1c893
    42 */
    42 */
    43 static const QString emailSendSubjectKey = "subject";
    43 static const QString emailSendSubjectKey = "subject";
    44 static const QString emailSendToKey = "to";
    44 static const QString emailSendToKey = "to";
    45 static const QString emailSendCcKey = "cc";
    45 static const QString emailSendCcKey = "cc";
    46 static const QString emailSendBccKey = "bcc";
    46 static const QString emailSendBccKey = "bcc";
       
    47 
       
    48 // MIME type for body text, e.g. "text/html". If this key is not defined,
       
    49 // emailSendBodyValueKey is treated as "text/plain".
       
    50 static const QString emailSendBodyMimeTypeKey = "mimeType";
       
    51 
    47 static const QString emailSendBodyTextKey = "body";
    52 static const QString emailSendBodyTextKey = "body";
    48 static const QString emailSendAttachmentKey = "attachment";
    53 static const QString emailSendAttachmentKey = "attachment";
    49 
       
    50 
    54 
    51 /*!
    55 /*!
    52     Mail service name
    56     Mail service name
    53 */
    57 */
    54 static const QString emailServiceName("nmail");
    58 static const QString emailServiceName("nmail");
   155                  acknowledged by this interface is EmailBackReturnsToMessageList,
   159                  acknowledged by this interface is EmailBackReturnsToMessageList,
   156                  which, if given, will add the message list (according to the
   160                  which, if given, will add the message list (according to the
   157                  given mailbox and folder IDs) into the view stack. This means
   161                  given mailbox and folder IDs) into the view stack. This means
   158                  that when the back button is pressed from the viewer view, the
   162                  that when the back button is pressed from the viewer view, the
   159                  message list view will be shown.
   163                  message list view will be shown.
   160                      
   164 
   161     \return 1 if message was opened. 0 if one of the IDs was incorrect.
   165     \return 1 if message was opened. 0 if one of the IDs was incorrect.
   162 
   166 
   163 
   167 
   164     Usage example:
   168     Usage example:
   165 
   169