Skip to content

Pact Email IEmailSender SendEmailAsync(string string string MailboxAddress MailboxAddress MimePart )

welshronaldo edited this page May 30, 2022 · 5 revisions

IEmailSender.SendEmailAsync(string, string, string, MailboxAddress, MailboxAddress, MimePart[]) Method

Compile and send an email using whichever transport service has been registered (or just log if none)

System.Threading.Tasks.Task SendEmailAsync(string recipients, string subject, string message, MailboxAddress from, MailboxAddress sender, params MimePart[] attachments);

Parameters

recipients System.String

subject System.String

message System.String

from MimeKit.MailboxAddress

sender MimeKit.MailboxAddress

attachments MimeKit.MimePart[]

Returns

System.Threading.Tasks.Task

Clone this wiki locally