Class EmailSendNotificationArgs
- Namespace
- Dynamicweb.Mailing.Notifications
- Assembly
- Dynamicweb.Core.dll
Provides information about the email.
public class EmailSendNotificationArgs : NotificationArgs
- Inheritance
-
EmailSendNotificationArgs
- Inherited Members
Constructors
EmailSendNotificationArgs(MailMessage, ISmtpSender)
public EmailSendNotificationArgs(MailMessage message, ISmtpSender sender)
Parameters
messageMailMessagesenderISmtpSender
EmailSendNotificationArgs(MailMessage, ISmtpSender, bool, bool)
public EmailSendNotificationArgs(MailMessage message, ISmtpSender sender, bool wasSent, bool isHandled)
Parameters
messageMailMessagesenderISmtpSenderwasSentboolisHandledbool
Properties
IsHandled
Specifies whether the send message logic was handled. Default - false.
public bool IsHandled { get; set; }
Property Value
Message
The mail message.
public MailMessage Message { get; set; }
Property Value
SmtpSender
The SMTP client.
public ISmtpSender? SmtpSender { get; set; }
Property Value
WasSent
Specifies whether the message was sent. Default - false.
public bool WasSent { get; set; }