$ 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
-
Notifications
You must be signed in to change notification settings - Fork 0
jhsea3do/restmailer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
simple restful mailer (smtp)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published