Update email.go

Changed date format to RFC1123Z
pull/164/head
fomk 7 years ago committed by GitHub
parent 23275d44a2
commit 462760fa7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -61,7 +61,7 @@ func (e *emailTypeNotifier) buildMessage(entries []*log.Entry) []byte {
header["From"] = e.From header["From"] = e.From
header["To"] = e.To header["To"] = e.To
header["Subject"] = emailSubject header["Subject"] = emailSubject
header["Date"] = t.Format(time.RFC1123) header["Date"] = t.Format(time.RFC1123Z)
header["MIME-Version"] = "1.0" header["MIME-Version"] = "1.0"
header["Content-Type"] = "text/plain; charset=\"utf-8\"" header["Content-Type"] = "text/plain; charset=\"utf-8\""
header["Content-Transfer-Encoding"] = "base64" header["Content-Transfer-Encoding"] = "base64"

Loading…
Cancel
Save