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, SmtpClient)
Initializes a new instance of an object.
public EmailSendNotificationArgs(MailMessage message, SmtpClient sender)
Parameters
messageMailMessageThe mail message.
senderSmtpClientThe SMTP client.
EmailSendNotificationArgs(MailMessage, SmtpClient, bool, bool)
Initializes a new instance of an object.
public EmailSendNotificationArgs(MailMessage message, SmtpClient sender, bool wasSent, bool isHandled)
Parameters
messageMailMessageThe mail message.
senderSmtpClientThe SMTP client.
wasSentboolSpecifies whether the message was sent.
isHandledboolSpecifies whether the send message logic was handled.
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
Sender
The SMTP client.
public SmtpClient Sender { get; set; }
Property Value
WasSent
Specifies whether the message was sent. Default - false.
public bool WasSent { get; set; }