Skip to content

sivikee/simple-email-html-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A really simple email API

How does it work?

The api uses thymeleaf to render an email, you can use simple variables inside your template and then attach them to the 'data' object in your request.

Usage:

  • Put template files into the /templates/ folder
  • Call the API with '/api/email/'
  • You can render the result before sending with using '/api/email/render'
{
    "to":"[email protected]",
    "subject": "Teszt email!",
    "template":"test.html",
    "data": {
        "name": "sivikee",
        "link": "https://example.com"
    }
}

Todo:

  • API now can send simple emails
  • API now can send html emails
  • OpenAPI spec & Swagger
  • Create docker image and publish to hub
  • Create a better readme
  • Create CI/CD pipeline
  • Add better documentation
  • Add support for file attachments via multipart

About

Simple API to send html templates for free!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages