Example #1
0
 MailMessage IMail.CreateMailMessage(string from, string to, string cc, string bcc, string replyTo, string subject, string body, Encoding encoding, bool isBodyHtml, IAttachmentBytes attachmentBytes, MailPriority priority, DeliveryNotificationOptions deliveryNotificationOptions)
 {
     return(((IMail)this).CreateMailMessage(from, to, cc, bcc, replyTo, subject, body, encoding, isBodyHtml
                                            , new Attachment(new MemoryStream(attachmentBytes.Bytes), attachmentBytes.FileName, attachmentBytes.MediaType), priority, deliveryNotificationOptions));
 }
Example #2
0
 MailMessage IMail.CreateMailMessage(string from, string to, string subject, string body, Encoding encoding, bool isBodyHtml, IAttachmentBytes attachmentBytes, MailPriority priority, DeliveryNotificationOptions deliveryNotificationOptions)
 {
     return(((IMail)this).CreateMailMessage(from, to, "", "", "", subject, body, encoding, isBodyHtml, attachmentBytes, priority, deliveryNotificationOptions));
 }