MailService.Send Method

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

Overloads

Send(EmailModel, SmtpClient) Sends the specified EmailModel.
Send(MailMessage, SmtpClient) Sends the specified System.Net.Mail.MailMessage.

Send(EmailModel, SmtpClient)

Sends the specified EmailModel.

public static bool Send(EmailModel model, SmtpClient smtp = null)

Parameters

model
EmailModel
smtp
System.Net.Mail.SmtpClient

Returns

System.Boolean

Send(MailMessage, SmtpClient)

Sends the specified System.Net.Mail.MailMessage.

public static bool Send(MailMessage message, SmtpClient smtp = null)

Parameters

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

Returns

System.Boolean