An open API service indexing awesome lists of open source software.

https://github.com/gmoqa/smtp-tester

SMTP Tester
https://github.com/gmoqa/smtp-tester

Last synced: 11 days ago
JSON representation

SMTP Tester

Awesome Lists containing this project

README

          

**SMTP-TESTER**
----
**DEMO**: [https://smtp-tester.herokuapp.com/](https://smtp-tester.herokuapp.com/)

**URL**: `/send`

**Method:**
`POST`

**Body**

````json
{
"mailer": {
"host": "smtp.example.net",
"port": 587,
"secure": false,
"user": "user",
"pass": "secret"
},
"mail": {
"from": "\"John Doe 👻\" ",
"to": "john.doe@exa ple.com",
"subject": "Hello ✔",
"text": "Hello world?",
"html": "Hello world?"
}
}
````

**Success Response:**

````json
{
"message": "Message sent: "
}
````

**Error Response:**

````json
{
"error": {
"code": "EAUTH",
"response": "The provided authorization grant is invalid",
"responseCode": 535,
"command": "AUTH PLAIN"
}
}
````