通过 API 获取套餐信息 [GET 请求]
| 参数 |
值 |
| key |
您的 API 密钥 |
| action |
plan |
| https://mailbanana.net/api/v1/?key=apiKey&action=plan |
{
"success": {
"remain": 400,
"limit": 450,
"sender": "SMTMailler.io",
"plan": "free",
"status": "active"
}
}
通过 API 发送邮件 [GET 请求]
| 参数 |
值 |
| key |
您的 API 密钥 |
| action |
send |
| subject |
主题行 |
| content |
邮件正文 |
| receiver |
收件人邮箱地址 |
| https://mailbanana.net/api/v1/?key=apiKey&action=send&subject=konu&content=icerik&receiver=alıcı |
发送成功时
{
"success": {
"status": true,
"response": "E-Posta Gönderildi.",
"remain": 449,
}
}
发送失败时
{
"error": {
"status": false,
"response": "E-Posta Gönderilemedi. SMTP Ayarlarınızı veya alıcının E-Posta adresini kontrol edin.",
}
}
没有剩余额度时
{
"error": {
"status": false,
"response": "Gönderim Limitiniz Kalmamış.",
"remain": 0,
}
}