MailService.SendAsync Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Overloads
Send |
Sends the specified System.Net.Mail.MailMessage using smtp settings from ConfigurationService.
This method does not block the calling thread.
|
Send |
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
The System.Net.Mail.MailMessage
to send.
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
The System.Net.Mail.MailMessage
to send.
- smtp
- System.Net.Mail.SmtpClient
The System.Net.Mail.SmtpClient
settings to use or null
to use default settings.