Type Alias SmtpResult

type SmtpResult = {
    connectionFailed?: boolean;
    message?: string;
    smtpResponseCode?: number;
    success?: boolean;
}
Index

Properties

connectionFailed?: boolean

could not resolve domain name, connection refused, connection timed out, SSL mismatch

message?: string

error message from SMTP middleware .. a bit technical but could be useful to administrator

smtpResponseCode?: number

smtp result code string from the SMTP server. eg. "250 2.6.0"

success?: boolean

was SMTP operation successful or not. Other fields herein provide more detail