Quote port number in smtp config JSON

Mailhog would break with `json: cannot unmarshal number into Go value of type string`
This commit is contained in:
Eric Cohen 2015-04-06 13:50:34 +03:00
parent 5b6e26bd7c
commit b5d39f7c58

View file

@ -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": "...",