Function: writeOutboxEmail()
writeOutboxEmail(
message,from,dir,brand?,presentation?):Promise<string>
Write one message as HTML under <dir>/<from>/ and return the
absolute path. The per-sender folder mirrors the SMTP From, so test
output groups by who the message would have been sent as.
Parameters
Section titled “Parameters”message
Section titled “message”attachments?
Section titled “attachments?”object[] = ...
string[] = ...
string = ...
string[] = ...
subject
Section titled “subject”string = ...
string[] = ...
string
string
brand?
Section titled “brand?”presentation?
Section titled “presentation?”Pick<EmailDocumentProps, "heading" | "preview">
Returns
Section titled “Returns”Promise<string>