YOUR_RESOURCE_ID with a resource UUID from your test account. Create any named template, recipient, attachment, or JSON files first. Shell examples use Bash; examples that read JSON with jq need jq installed. Sends use sandbox mode.
Overview
list- List all SMTP credentialscreate- Create a new SMTP credentialget- Get details of a specific SMTP credentialdelete- Delete an SMTP credentialsend- Send an email via SMTP protocol
- Send emails from email clients (Outlook, Thunderbird, etc.)
- Integrate with applications that only support SMTP
- Use AhaSend from programming languages without SDK support
- Send transactional emails from servers that support STARTTLS and AUTH PLAIN
List SMTP Credentials
Create SMTP Credential
Get SMTP Details
Delete SMTP Credential
Send via SMTP
Send email using SMTP protocol for testing: SetSMTP_USERNAME and SMTP_PASSWORD in your shell from the values returned when you created the sandbox credential. The CLI cannot retrieve an existing credential’s password from its ID; pass both values explicitly.
- Username and password for authentication
- Scope (global or domain-specific)
- Sandbox mode option for testing
- Standard SMTP server configuration

