-
Notifications
You must be signed in to change notification settings - Fork 0
NSG.MimeKit.SendGrid.Extensions
Namespace of MimeKit. MimeKit is an external namespace from the MailKit/MimeKit libraries. This appends to the MimeKit namespace and extends the MimeMessage and BodyBuilder classes.
SendGrid message conversion.
lambda method to move MimeKit MailboxAddress email address to a new SendGrid EmailAddress address.
a MailboxAddress email address
a new SendGrid EmailAddress address
lambda method to move SendGrid EmailAddress email address to a new MimeKit MailboxAddress address.
a SendGrid EmailAddress email address
a new MimeKit MailboxAddress address
Convert a SendGridMessage mail message, and load it into a new mime message.
For example: This sample shows how to call the NewMimeMessage method.
// translate the message from SendGridMessage to MimeMessage
SendGridMessage _sgm = MailHelper.CreateSingleEmail(_from, _to, _subject, _plainTextContent, null);
MimeMessage _email = SendGridExtensions.NewMailMessage(_sgm);
A SendGrid.Helpers.Mail.SendGridMessage mail message.
A new MimeMessage to allow fluent design.