SMTP
Send emails via any SMTP mail server
Configuration
SMTP Host*
smtp.gmail.com, smtp.example.com
SMTP Port*
587
SMTP Username*
your-email@example.com
SMTP Password*
••••••••
Security Mode*
Select...
From*
sender@example.com
To*
recipient@example.com
Subject*
Email subject
Body*
Email content
Content Type
Select...
Attachments
Upload files to attach
Attachments
Reference files from previous blocks
From Name
Display name for sender
CC
cc1@example.com, cc2@example.com
BCC
bcc1@example.com, bcc2@example.com
Reply To
reply@example.com
Tools
smtp_send_mail
Send emails via SMTP server
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
smtpHost | string | Yes | SMTP server hostname (e.g., smtp.gmail.com) |
smtpPort | number | Yes | SMTP server port (587 for TLS, 465 for SSL) |
smtpUsername | string | Yes | SMTP authentication username |
smtpPassword | string | Yes | SMTP authentication password |
smtpSecure | string | Yes | Security protocol (TLS, SSL, or None) |
from | string | Yes | Sender email address |
to | string | Yes | Recipient email address |
subject | string | Yes | Email subject |
body | string | Yes | Email body content |
contentType | string | No | Content type (text or html) |
fromName | string | No | Display name for sender |
cc | string | No | CC recipients (comma-separated) |
bcc | string | No | BCC recipients (comma-separated) |
replyTo | string | No | Reply-to email address |
attachments | file[] | No | Files to attach to the email |
Output
| Parameter | Type | Description |
|---|---|---|
success | boolean | Whether the email was sent successfully |
messageId | string | Message ID from SMTP server |
to | string | Recipient email address |
subject | string | Email subject |
Usage Instructions
Send emails using any SMTP server (Gmail, Outlook, custom servers, etc.). Configure SMTP connection settings and send emails with full control over content, recipients, and attachments.
Notes
- Category:
tools - Type:
smtp