diff --git a/src/Tizen.Messaging/Tizen.Messaging.Email/EmailAttachment.cs b/src/Tizen.Messaging/Tizen.Messaging.Email/EmailAttachment.cs
index b561ddca1af..9f3a44dccc7 100644
--- a/src/Tizen.Messaging/Tizen.Messaging.Email/EmailAttachment.cs
+++ b/src/Tizen.Messaging/Tizen.Messaging.Email/EmailAttachment.cs
@@ -14,23 +14,28 @@
* limitations under the License.
*/
+using System;
+
namespace Tizen.Messaging.Email
{
///
/// Represents an email attachment.
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public class EmailAttachment
{
///
/// The absolute full path of the file to be attached.
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public string FilePath { get; set; }
///
/// The constructor.
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public EmailAttachment()
{
diff --git a/src/Tizen.Messaging/Tizen.Messaging.Email/EmailEnumerations.cs b/src/Tizen.Messaging/Tizen.Messaging.Email/EmailEnumerations.cs
index 36d31171ec0..13a58b5bf76 100755
--- a/src/Tizen.Messaging/Tizen.Messaging.Email/EmailEnumerations.cs
+++ b/src/Tizen.Messaging/Tizen.Messaging.Email/EmailEnumerations.cs
@@ -14,12 +14,15 @@
* limitations under the License.
*/
+using System;
+
namespace Tizen.Messaging.Email
{
///
/// Result of sending the email.
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public enum EmailSendResult
{
///
diff --git a/src/Tizen.Messaging/Tizen.Messaging.Email/EmailMessage.cs b/src/Tizen.Messaging/Tizen.Messaging.Email/EmailMessage.cs
index 65306b00a6a..664d41ff001 100644
--- a/src/Tizen.Messaging/Tizen.Messaging.Email/EmailMessage.cs
+++ b/src/Tizen.Messaging/Tizen.Messaging.Email/EmailMessage.cs
@@ -24,6 +24,7 @@ namespace Tizen.Messaging.Email
/// This class contains the Messaging API to support sending email messages.
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public class EmailMessage : IDisposable
{
internal IntPtr _emailHandle = IntPtr.Zero;
@@ -39,6 +40,7 @@ public class EmailMessage : IDisposable
/// The constructor.
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public EmailMessage()
{
int ret = Interop.Email.CreateEmail(out _emailHandle);
@@ -53,6 +55,7 @@ public EmailMessage()
/// The subject of the email message.
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public string Subject
{
set
@@ -76,6 +79,7 @@ public string Subject
/// The body of the email message.
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public string Body
{
set
@@ -98,6 +102,7 @@ public string Body
/// The list of file attachments.
///
/// 3
+[Obsolete("Deprecated since API11. Might be removed in API13")]
public IList Attachments
{
get
@@ -113,6 +118,7 @@ public IList Attachments
/// The email address should be in the standard format (as described in the Internet standards RFC 5321 and RFC 5322).
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public ICollection To
{
get
@@ -128,6 +134,7 @@ public ICollection To
/// The email address should be in the standard format (as described in the Internet standards RFC 5321 and RFC 5322).
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public ICollection Cc
{
get
@@ -143,6 +150,7 @@ public ICollection Cc
/// The email address should be in the standard format (as described in the Internet standards RFC 5321 and RFC 5322).
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public ICollection Bcc
{
get
@@ -169,6 +177,7 @@ internal void Save()
/// Releases all resources used by the EmailMessage.
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public void Dispose()
{
Dispose(true);
@@ -180,6 +189,7 @@ public void Dispose()
///
/// Disposing by User
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
protected virtual void Dispose(bool disposing)
{
if (_disposed)
diff --git a/src/Tizen.Messaging/Tizen.Messaging.Email/EmailRecipient.cs b/src/Tizen.Messaging/Tizen.Messaging.Email/EmailRecipient.cs
index 69ff5039e06..c5ca528a19e 100644
--- a/src/Tizen.Messaging/Tizen.Messaging.Email/EmailRecipient.cs
+++ b/src/Tizen.Messaging/Tizen.Messaging.Email/EmailRecipient.cs
@@ -14,23 +14,28 @@
* limitations under the License.
*/
+using System;
+
namespace Tizen.Messaging.Email
{
///
/// This class represents recipients of an email.
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public class EmailRecipient
{
///
/// The email address of the recipient.
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public string Address { get; set; }
///
/// The constructor.
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public EmailRecipient()
{
diff --git a/src/Tizen.Messaging/Tizen.Messaging.Email/EmailSender.cs b/src/Tizen.Messaging/Tizen.Messaging.Email/EmailSender.cs
index 3d60634e1c6..648c0340251 100644
--- a/src/Tizen.Messaging/Tizen.Messaging.Email/EmailSender.cs
+++ b/src/Tizen.Messaging/Tizen.Messaging.Email/EmailSender.cs
@@ -24,6 +24,7 @@ namespace Tizen.Messaging.Email
/// This class is used to send email messages.
///
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public static class EmailSender
{
static private Dictionary _sendCbMap = new Dictionary();
@@ -35,6 +36,7 @@ public static class EmailSender
/// The email message.
/// Failure if the email sending activity failed, otherwise Success.
/// 3
+ [Obsolete("Deprecated since API11. Might be removed in API13")]
public static async Task SendAsync(EmailMessage email)
{
var task = new TaskCompletionSource();
diff --git a/src/Tizen.Messaging/doc/api/Tizen.Messaging.Email.md b/src/Tizen.Messaging/doc/api/Tizen.Messaging.Email.md
index def7ad1a8ca..20585513e2e 100644
--- a/src/Tizen.Messaging/doc/api/Tizen.Messaging.Email.md
+++ b/src/Tizen.Messaging/doc/api/Tizen.Messaging.Email.md
@@ -15,4 +15,8 @@
uid: Tizen.Messaging.Email
summary: The Tizen.Messaging.Email namespace contains classes providing the functionality to send emails.
+
+> [!NOTE]
+> All Email APIs have been deprecated since Tizen 8.0 (API Level 11) which means they are planned to be removed after two releases.
+
---