MailService.SendAsync Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

SendAsync(MailMessage) Sends the specified System.Net.Mail.MailMessage using smtp settings from ConfigurationService. This method does not block the calling thread.
SendAsync(MailMessage, SmtpClient) Sends a System.Net.Mail.MailMessage using the specified smtp settings. This method does not block the calling thread.

SendAsync(MailMessage)

Sends the specified System.Net.Mail.MailMessage using smtp settings from ConfigurationService. This method does not block the calling thread.

public static void SendAsync(MailMessage message)

Parameters

message
System.Net.Mail.MailMessage

SendAsync(MailMessage, SmtpClient)

Sends a System.Net.Mail.MailMessage using the specified smtp settings. This method does not block the calling thread.

public static void SendAsync(MailMessage message, SmtpClient smtp = null)

Parameters

message
System.Net.Mail.MailMessage
smtp
System.Net.Mail.SmtpClient