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
message
MailMessageThe mail message.
sender
SmtpClientThe 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
message
MailMessageThe mail message.
sender
SmtpClientThe SMTP client.
wasSent
boolSpecifies whether the message was sent.
isHandled
boolSpecifies 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; }