simonsfoundation/Send Failure Email via SMTP

Send email via SMTP — plain text, HTML, or with attachments

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
server_addressSMTP server hostnameyes
server_portSMTP server portno587
secureUse TLS (true = direct TLS on port 465, false = STARTTLS)nofalse
usernameSMTP auth usernameno
passwordSMTP auth passwordno
subjectEmail subjectyes
toRecipient email addresses, comma-separatedyes
fromFROM address, e.g. "Display Name <user@example.com>" or just "user@example.com"yes
envelope_fromEnvelope FROM address (for bounces/SPF). Defaults to from if not set.no
reply_toReply-To addressno
ccCC recipients, comma-separatedno
bccBCC recipients, comma-separatedno
bodyPlain text email bodyno
html_bodyHTML email body. If both body and html_body are set, sends multipart message.no
attachmentsFile paths to attach, comma-separated. Supports glob patterns.no
ignore_certIgnore TLS certificate errors (not recommended in production)nofalse
priorityEmail priority: high, normal, or lownonormal
namedescription
resultResult message from the SMTP server