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, ISmtpSender)

public EmailSendNotificationArgs(MailMessage message, ISmtpSender sender)

Parameters

message MailMessage
sender ISmtpSender

EmailSendNotificationArgs(MailMessage, ISmtpSender, bool, bool)

public EmailSendNotificationArgs(MailMessage message, ISmtpSender sender, bool wasSent, bool isHandled)

Parameters

message MailMessage
sender ISmtpSender
wasSent bool
isHandled bool

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

SmtpSender

The SMTP client.

public ISmtpSender? SmtpSender { get; set; }

Property Value

ISmtpSender

WasSent

Specifies whether the message was sent. Default - false.

public bool WasSent { get; set; }

Property Value

bool
To top