Table of Contents

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 MailMessage

The mail message.

sender SmtpClient

The 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 MailMessage

The mail message.

sender SmtpClient

The SMTP client.

wasSent bool

Specifies whether the message was sent.

isHandled bool

Specifies 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

bool

Message

The mail message.

public MailMessage Message { get; set; }

Property Value

MailMessage

Sender

The SMTP client.

public SmtpClient Sender { get; set; }

Property Value

SmtpClient

WasSent

Specifies whether the message was sent. Default - false.

public bool WasSent { get; set; }

Property Value

bool
To top