https://github.com/gmoqa/smtp-tester
SMTP Tester
https://github.com/gmoqa/smtp-tester
Last synced: 11 days ago
JSON representation
SMTP Tester
- Host: GitHub
- URL: https://github.com/gmoqa/smtp-tester
- Owner: gmoqa
- Created: 2019-01-17T17:34:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-17T17:56:24.000Z (over 7 years ago)
- Last Synced: 2025-03-04T06:12:36.994Z (over 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"
}
}
````