fix spec and delete Save API 27/115427/2 accepted/tizen/mobile/20170220.223308 submit/tizen/20170220.064915
authorintae, jeon <intae.jeon@samsung.com>
Mon, 20 Feb 2017 02:15:03 +0000 (11:15 +0900)
committerintae, jeon <intae.jeon@samsung.com>
Mon, 20 Feb 2017 02:20:00 +0000 (11:20 +0900)
Change-Id: Id4b8cdfcaa2b8a9e9467cfbd764f0abe8951d028
Signed-off-by: intae, jeon <intae.jeon@samsung.com>
Tizen.Messaging/Tizen.Messaging.Email/EmailAttachment.cs [changed mode: 0755->0644]
Tizen.Messaging/Tizen.Messaging.Email/EmailMessage.cs [changed mode: 0755->0644]
Tizen.Messaging/Tizen.Messaging.Email/EmailRecipient.cs [changed mode: 0755->0644]
Tizen.Messaging/Tizen.Messaging.Email/EmailSender.cs [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 9c54ec7..5f8028a
@@ -25,5 +25,12 @@ namespace Tizen.Messaging.Email
         /// The absolute full path of the file to be attached
         /// </summary>
         public string FilePath { get; set; }
+        /// <summary>
+        /// The constructor
+        /// </summary>
+        public EmailAttachment()
+        {
+
+        }
     }
 }
old mode 100755 (executable)
new mode 100644 (file)
index 8755f16..f7756c9
@@ -93,9 +93,6 @@ namespace Tizen.Messaging.Email
         /// <summary>
         /// List of file attachments
         /// </summary>
-        /// <remarks>
-        /// The maximum attachment file size is 10 MB.
-        /// </remarks>
         public IList<EmailAttachment> Attachments
         {
             get
@@ -146,10 +143,8 @@ namespace Tizen.Messaging.Email
             }
         }
 
-        /// <summary>
-        /// Saves the email message
-        /// </summary>
-        public void Save()
+
+        internal void Save()
         {
             int ret;
             FillHandle();
old mode 100755 (executable)
new mode 100644 (file)
index 1a8288d..3c1fc24
@@ -25,5 +25,12 @@ namespace Tizen.Messaging.Email
         /// The email address of the recipient
         /// </summary>
         public string Address { get; set; }
+        /// <summary>
+        /// The constructor
+        /// </summary>
+        public EmailRecipient()
+        {
+
+        }
     }
 }
old mode 100755 (executable)
new mode 100644 (file)
index 81def53..944d03f
@@ -30,10 +30,11 @@ namespace Tizen.Messaging.Email
         /// <param name="email">The email message</param>
         /// <param name="saveToSentBox">true to save the message in the sentbox</param>
         /// <returns> Failure if email sending failed otherwise Success</returns>
-        public static async Task<EmailSendResult> SendAsync(EmailMessage email, bool saveToSentBox)
+        public static async Task<EmailSendResult> SendAsync(EmailMessage email)
         {
             var task = new TaskCompletionSource<EmailSendResult>();
             int ret = (int)EmailError.None;
+            bool saveToSentBox = false;
 
             email.FillHandle();
             email.Save();