Skip to content

jhsea3do/restmailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

restmailer

$ printf '
{
  "from": "xxx@xxx.com",
  "host": "smtp.xxx.com",
  "port": 25,
  "secure": false,
  "auth": {
    "user": "xxx@xxx.com",
    "pass": "xxxxxx"
  } 
}
' > conf.json

$ sh bin/start

$ curl -X POST -H 'content-Type: application/json' \
-d '{ "subject": "test adfsdfsdf", "text": "OK adffdsfdsfs", "to": "a1@gmail.com, a2@gmail.com" }' \
http://localhost:3000/api/mailto

About

simple restful mailer (smtp)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published