Ejemplo n.º 1
0
 /// <summary>
 /// Creates a reply, pre-addressed to the original sender or all original recipients, from the original message
 /// </summary>
 /// <param name="replyAll" - replies to all original recipients if true; only to the original sender if false></param>
 /// <returns>A MailItem object that represents the reply</returns>
 public MailItem Reply(bool replyAll)
 {
     if (replyAll)
     {
         return(new MailItem(_mailitem.ReplyAll()));
     }
     else
     {
         return(new MailItem(_mailitem.Reply()));
     }
 }
Ejemplo n.º 2
0
 public IMailItem Reply(bool replyAll)
 {
     if (replyAll)
     {
         return(new MailItemProviderOM(_mailItem.ReplyAll()));
     }
     else
     {
         return(new MailItemProviderOM(_mailItem.Reply()));
     }
 }