Skip to content

Commit

Permalink
Quote port number in smtp config JSON
Browse files Browse the repository at this point in the history
Mailhog would break with `json: cannot unmarshal number into Go value of type string`
  • Loading branch information
eirc committed Apr 6, 2015
1 parent 5b6e26b commit b5d39f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ the following structure, and set `MH_OUTGOING_SMTP` or `-outgoing-smtp`.
"server name": {
"name": "server name",
"host": "...",
"port": 587,
"port": "587",
"email": "...",
"username": "...",
"password": "...",
Expand Down

0 comments on commit b5d39f7

Please sign in to comment.