Back to Vendure

EmailSendEvent

docs/docs/reference/core-plugins/email-plugin/email-send-event.mdx

3.7.2681 B
Original Source
<GenerationInfo sourceFile="packages/email-plugin/src/email-send-event.ts" sourceLine="14" packageName="@vendure/email-plugin" since="2.2.0" />

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.

ts
class EmailSendEvent extends VendureEvent {
    constructor(ctx: RequestContext, details: EmailDetails, success: boolean, error?: Error, metadata?: EmailMetadata)
}
<div className="members-wrapper"> </div>