Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email - API

Overview

This is a simple api sending email. Create Java with the SPRING framework.
Please email [email protected] if you find any bugs or suggestion.

Sending Email

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": "[email protected]",
	"emissary": "[email protected]",
	"bodyText": "api mail",
	"subjectText": "api mail"
}

Response

{
   "path": "/email/sendEmails",
   "method": "post",
   "object": {
       "recipient": "[email protected]",
       "emissary": "[email protected]",
       "bodyText": "api mail",
       "subjectText": "api mail"
   }
}

Remember that you must configure your GMAIL to accept less secure app access

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages