{
"smtp_username": "user@example.com",
"smtp_password": "smtppassword"
}
{
"code": 200,
"data": {
"not_after": "2025-12-24 13:38:49.090815289 UTC",
"token": "eyJ0eXAiOiJKV..."
}
}
{
"smtp_host": "smtp.example.com",
"smtp_port": 587,
"use_tls": true,
"from": {
"email": "user@example.com",
"name": "User Example"
},
"to": [
{
"email": "recipient1@example.com",
"name": "Recipient 1 Name"
},
{
"email": "recipient2@example.net"
}
],
"subject": "Subject SMTP Mailer",
"body": {
"text": "Hello world!",
"html": "<h1>Hello \"world\"!</h1>"
}
}
{
"code": 200,
"data": [
{
"email": "recipient1@example.com",
"msg": "Email sent successfully!",
"name": "Recipient 1 Name",
"status": "success"
},
{
"email": "recipient2@example.net",
"msg": "Email sent successfully!",
"status": "success"
}
]
}
{
"code": 400,
"msg": "Only 3 email recipients are allowed"
}
{
"code": 401,
"msg": "invalid token"
}
stats . copyright © Yudha Rachmat Hidayat
2017 - 2025