Skip to content

felipeeffting/sendEmail-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email - API

Overview

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 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": "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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages