Exemple #1
0
 /// <summary>
 /// Send email
 /// </summary>
 /// <param name="emailAccount">Email account</param>
 /// <param name="subject">Email subject</param>
 /// <param name="content">Email content</param>
 /// <param name="receiveAddresses">Receive addresses</param>
 /// <returns>Return the email send result</returns>
 public static async Task <EmailSendResult> SendAsync(EmailAccount emailAccount, string subject, string content, params string[] receiveAddresses)
 {
     return(await SendAsync(emailAccount, string.Empty, subject, content, true, receiveAddresses).ConfigureAwait(false));
 }