Skip to main content

EmailSendEvent

EmailSendEvent

This event is fired when an email sending attempt has been made. If the sending was successful, the success property will be true, and if not, the error property will contain the error which occurred.

Signature
class EmailSendEvent extends VendureEvent {
constructor(ctx: RequestContext, details: EmailDetails, success: boolean, error?: Error)
}

constructor

method
(ctx: RequestContext, details: EmailDetails, success: boolean, error?: Error) => EmailSendEvent