Skip to content

This its just the second project of a serie that belong my portfolio. Here you can find an example to use smtp service with golang and a internal api

Notifications You must be signed in to change notification settings

JavierAcevedoC/mailGOing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MailGOing

Requisitos

This its just the second project of a serie that belong my portfolio. Here the requirement in spanish coz its my prefer lang.

  • Recibir solicitudes de envio de correo atraves de un api
  • Enviar correos utilizando un proveedor de SMTP (gmail,mailgun)
  • Reintentar envios fallidos auto.
  • Mantener registro de correos enviados y fallidos.

Usage for plain:

curl -X POST http://localhost:8080/send-email \                   
-H "Content-Type: application/json" \
-d '{"to":"[email protected]","subject":"Hola","body":"Este es un correo de prueba"}'

Usage for default template:

curl -X POST http://localhost:8080/send-email-template \                   
-H "Content-Type: application/json" \
-d '{"to":"[email protected]","subject":"Hola","body":"Este es un correo de prueba"}'

Example: 'test'

About

This its just the second project of a serie that belong my portfolio. Here you can find an example to use smtp service with golang and a internal api

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published