-
Getting Started
-
Domains
- Authentication & Headers
- Get Domain Pricing
- Search Domain Availability
- List Domains
- Register Domain
- Transfer Domain
- Get Registrar Domain Info
- Change Nameservers
- Registrar Lock (Enable/Disable)
- Whois Privacy (Toggle)
- Dns Management (Get/Set)
- Get Epp/Authorization Code
- Renew Domain
- Restore Expired Domain
- Get Local Domain Details
- Register Custom Nameserver (Glue Record)
- List Contact Profiles
- Create Contact Profile
- Update Contact Profile
- Assign Contacts To Domain
-
SMM | Lab (SEO)
-
Hosted Payments
-
Crypto Payments
-
Messaging
-
WhatsApp API
-
Email API
-
IPTV
Send Email
-------------------------
5. SEND EMAIL
-------------------------
Send Email: Sends an email via your configured SMTP server(s), with optional custom sender and reply-to.
Endpoint: POST /email/send
Parameters (JSON body):
api_key(required, string): Your Email Messaging API key.email(required, string): Recipient email address.subject(required, string): Email subject line.message(required, string): Email body content.reply_to(optional, string): Email address where replies should be sent.sender_email(optional, string): Specific sender/from email address.server_id(optional, integer): ID of the sending server; alternative tosender_email.
Example Request (Basic):
curl -X POST "https://umva.net/api/messaging/email/send" \
-H "Content-Type: application/json" \
-d '{
"api_key": "YOUR_EMAIL_API_KEY",
"email": "[email protected]",
"subject": "Hello from Email API",
"message": "This is the email body content",
"reply_to": "[email protected]"
}'
Example Request (From Specific Server):
curl -X POST "https://umva.net/api/messaging/email/send" \
-H "Content-Type: application/json" \
-d '{
"api_key": "YOUR_EMAIL_API_KEY",
"email": "[email protected]",
"subject": "Hello from specific server",
"message": "This is the email body content",
"sender_email": "[email protected]"
/* or: "server_id": 1 */
}'
Success Response Example (HTTP 200):
{
"success": true,
"message": "Email sent successfully",
"data": {
"server_name": "My SMTP Server",
"remaining_capacity": 95
}
}