From b5d39f7c580b364f48b2acd9aa70b5e17b1080df Mon Sep 17 00:00:00 2001 From: Eric Cohen Date: Mon, 6 Apr 2015 13:50:34 +0300 Subject: [PATCH] Quote port number in smtp config JSON Mailhog would break with `json: cannot unmarshal number into Go value of type string` --- docs/CONFIG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CONFIG.md b/docs/CONFIG.md index 25d41b9..eb4f8f4 100644 --- a/docs/CONFIG.md +++ b/docs/CONFIG.md @@ -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": "...",