This is a simple api sending email. Create Java with the SPRING framework.
Please email felipe.motaeffting@gmail.com if you find any bugs or suggestion.
Sending the email is simple, you must send a Json in the Post method to url '/email/sendEmails'
These are json's body items:
| Field | Description | Type |
|---|---|---|
| recipient | Recipient for email | String |
| emissary | Emissary for email | String |
| bodyText | Text Body for email | String |
| subjectText | Text Subject | String |
For exemple:
Request:
{
"recipient": "felipe.motaeffting@gmail.comr",
"emissary": "felipe.motaeffting@gmail.com",
"bodyText": "api mail",
"subjectText": "api mail"
}Response
{
"path": "/email/sendEmails",
"method": "post",
"object": {
"recipient": "felipe.motaeffting@gmail.com",
"emissary": "felipe.motaeffting@gmail.com",
"bodyText": "api mail",
"subjectText": "api mail"
}
}Remember that you must configure your GMAIL to accept less secure app access