SMTP
Send emails via SMTP (nodemailer): verify the connection and send messages with text/HTML body, CC/BCC, custom headers and base64 attachments
- Package:
plugin-smtp
- Author: Kai
- Version: 1.0.0
Credentials
| Key |
Label |
Type |
Required |
Default |
host |
Host |
string |
yes |
– |
port |
Port |
number |
no |
587 |
user |
User |
string |
no |
– |
password |
Password |
secret |
no |
– |
secure |
Use TLS directly (SSL, e.g. port 465) |
boolean |
no |
false |
from |
Default sender address |
string |
no |
– |
rejectUnauthorized |
Verify TLS certificate |
boolean |
no |
true |
Settings
| Key |
Label |
Type |
Required |
Default |
timeoutMs |
Timeout (ms) |
number |
no |
15000 |
startTls |
Require STARTTLS when not using direct TLS |
boolean |
no |
true |
maxAttachmentBytes |
Max attachment size (bytes) |
number |
no |
10485760 |
Tools
| Tool |
Description |
smtp_verify |
Connects to the SMTP server, authenticates (if a user is configured) and reports the connection details |
smtp_send |
Sends an email via SMTP. Supports plain text and/or HTML body, CC/BCC, replyTo, custom headers and attachments (base64 encoded content). Returns the message id and accepted/rejected recipients |