Skip to content

Commit

Permalink
Additional info to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hyper-prog committed Feb 18, 2021
1 parent 160722c commit e2d0dab
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ as HTTP POST in a JSON data, queue the requests, and sends the specified
mails to a SMTP server according to the settings.


Compile / Install
-----------------
Server config file (JSON) - Have to pass in command line argument
Config file sample (JSON)
-------------------------
You need to give a JSON file as a command line argument to specify
SMTP host and port, the authentications, allowed client certificates and so on...

{
"restgomail": {
Expand All @@ -31,7 +32,9 @@ Server config file (JSON) - Have to pass in command line argument
}
}

E-mail send request (JSON) - Have to send as POST request to the 443 port (configured above)
E-mail send request sample (JSON)
---------------------------------
This is a sample JSON passed as HTTP-POST request to the 443 port (configured above)

{
"sendmail": {
Expand Down

0 comments on commit e2d0dab

Please sign in to comment.