/**
+ * @deprecated Deprecated since 8.0.
* @brief Creates an email message handle for sending an email message.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @pre At least one email account should be set up on the device.
* @see email_destroy_message()
*/
-int email_create_message(email_h *email);
+int email_create_message(email_h *email) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Destroys the email message handle and releases all its resources.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
* @param[in] email The handle to the email message
* @retval #EMAILS_ERROR_NOT_SUPPORTED Not supported
* @see email_create_message()
*/
-int email_destroy_message(email_h email);
+int email_destroy_message(email_h email) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Sets a subject of the email message.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @pre An email message handle is created using email_create_message().
* @see email_create_message()
*/
-int email_set_subject(email_h email, const char *subject);
+int email_set_subject(email_h email, const char *subject) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Populates a body of the email message.
* @details Email message body means the text data to be delivered.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
* @pre An email message handle is created using email_create_message().
* @see email_create_message()
*/
-int email_set_body(email_h email, const char *body);
+int email_set_body(email_h email, const char *body) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Adds a recipient to the email message.
* @details The email API supports sending an email message to multiple recipients.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
* @see email_create_message()
* @see email_remove_all_recipients()
*/
-int email_add_recipient(email_h email, email_recipient_type_e type, const char *address);
+int email_add_recipient(email_h email, email_recipient_type_e type, const char *address) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Removes all recipients for the email message.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
* @param[in] email The handle to the email message
* @pre An email message handle is created using email_create_message().
* @see email_add_recipient()
*/
-int email_remove_all_recipients(email_h email);
+int email_remove_all_recipients(email_h email) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Adds a file as an attachment to the email message.
* @details It should be used to add a file to the attachment list
* of the email message.
* @pre An email message handle is created using email_create_message().
* @see email_remove_all_attachments()
*/
-int email_add_attach(email_h email, const char *filepath);
+int email_add_attach(email_h email, const char *filepath) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Clears all attachments of the email message.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
* @param[in] email The handle to the email message
* @see email_create_message()
* @see email_add_attach()
*/
-int email_remove_all_attachments(email_h email);
+int email_remove_all_attachments(email_h email) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Saves the email message at outbox.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @see email_add_recipient()
* @see email_set_body()
*/
-int email_save_message(email_h email);
+int email_save_message(email_h email) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Sends the email message.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
* @remarks In order to check whether sending a message succeeds,
* @see email_save_message()
* @see email_set_message_sent_cb()
*/
-int email_send_message(email_h email, bool save_to_sentbox);
+int email_send_message(email_h email, bool save_to_sentbox) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Called when the process of sending an email finishes.
* @details You can check whether sending an email succeeds using this function.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
/**
+ * @deprecated Deprecated since 8.0.
* @brief Registers a callback function to be invoked when an email message is sent.
* @details You will be notified when sending a message finishes and check whether it succeeds using this function.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
* @see email_unset_message_sent_cb()
* @see email_send_message()
*/
-int email_set_message_sent_cb(email_h email, email_message_sent_cb callback, void *user_data);
+int email_set_message_sent_cb(email_h email, email_message_sent_cb callback, void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Unregisters the callback function.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
* @param[in] msg The handle to the email message
* @see email_set_message_sent_cb()
* @see email_send_message()
*/
-int email_unset_message_sent_cb(email_h msg);
+int email_unset_message_sent_cb(email_h msg) TIZEN_DEPRECATED_API;
#ifdef __cplusplus