Step-by-step guide to sending emails via the iSMS Email Sending API using Postman — POST request with x-www-form-urlencoded body.
Make sure you have the following ready:
The iSMS Email API uses a POST request with x-www-form-urlencoded body. Endpoint:
| Parameter | Type | Description | Required |
|---|---|---|---|
| un | string | Your iSMS username | ✅ Yes |
| pwd | string | Your iSMS password | ✅ Yes |
| toEmail | string | Recipient's email address | ✅ Yes |
| subject | string | Subject of the email | ✅ Yes |
| body | string | Body content of the email (HTML supported) | ✅ Yes |
| accountName | string | Your verified sender email address to send from | ✅ Yes |
| fromAlias | string | Display name of the sender | ✅ Yes |
| agreedterm | string | Must be set to YES | ✅ Yes |
| attachment | file | Optional file attachment | ❌ Optional |
Open Postman. Click "New" → "HTTP Request". Set the method to POST.
Enter the endpoint URL:
Click the "Body" tab → select "x-www-form-urlencoded" (not raw, not form-data). Add each parameter as a key-value pair:
| Key | Value (example) |
|---|---|
| un | myusername |
| pwd | mypassword |
| toEmail | [email protected] |
| subject | Hello from iSMS Email API |
| body | <h1>Hello!</h1><p>This is a test email.</p> |
| accountName | [email protected] |
| fromAlias | Your Company Name |
| agreedterm | YES |
Click "Send". A successful response will be returned from the server confirming the email was accepted.