Sending Emails
Learn how to compose, send, and manage emails using Airsend — both through the web interface and via the API.
Requirements
Before you can send emails, ensure the following are in place:
Verified account
Your email address must be verified
Added domain
At least one custom domain added to your workspace
Verified domain
All required DNS records (MX, SPF, DKIM) must be configured and verified
Active subscription
An active plan on your workspace (free tier has limited sending)
Compose & Send
You can compose and send emails through the Airsend web interface or programmatically via the API.
Using the Web Interface
- Click the Compose button in your inbox
- Select the From address (choose which domain/alias to send from)
- Enter the recipient's email address in the To field
- Add CC or BCC recipients if needed
- Enter a subject line
- Compose your email using the rich text editor or switch to HTML mode
- Attach files if needed (see Attachments section)
- Click Send
Using the API
Send emails programmatically using the POST /client/send endpoint.
POST /client/send
Headers:
client_key: YOUR_API_KEY
client_secret: YOUR_API_SECRET
Content-Type: application/json
Body:
{
"from": "[email protected]",
"to": "[email protected]",
"subject": "Hello from Airsend",
"html": "<p>This is a test email sent via the Airsend API.</p>"
}Required Fields
| Field | Type | Description |
|---|---|---|
from | string | Sender email address (must be a verified domain) |
to | string | Recipient email address |
subject | string | Email subject line |
html | string | HTML body of the email |
Attachments
You can attach files to your emails through both the web interface and the API.
Attachment Limits
| Limit | Value |
|---|---|
| Maximum file size | 25 MB per attachment |
| Maximum total size | 25 MB per email (all attachments combined) |
| Maximum attachments | 10 files per email |
Large Files
Email Templates
Save time with reusable email templates. Create templates for common emails like welcome messages, notifications, or newsletters.
Creating a Template
- Go to Settings → Email Templates
- Click New Template
- Enter a template name and subject line
- Design your email using the visual editor or HTML
- Use variables like
{{name}}for personalization - Save the template
Available Variables
| Variable | Description |
|---|---|
{{name}} | Recipient's name |
{{email}} | Recipient's email address |
{{date}} | Current date |
{{unsubscribe_url}} | One-click unsubscribe link |