update email encoding
This commit is contained in:
parent
7f9cf4908e
commit
fb02d525d2
2
email.go
2
email.go
@ -64,7 +64,7 @@ func SendMail(addr, from, subject, body string, to []string) error {
|
||||
"To: " + strings.Join(to, ",") + "\r\n" +
|
||||
"From: " + from + "\r\n" +
|
||||
"Subject: " + subject + "\r\n" +
|
||||
"Content-Type: text/html; charset=\"UTF-8\"\r\n" +
|
||||
"Content-Type: text/plain; charset=\"UTF-8\"\r\n" +
|
||||
"Content-Transfer-Encoding: base64\r\n" +
|
||||
"\r\n" + base64.StdEncoding.EncodeToString([]byte(body))
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||
package main
|
||||
var githash = "a7ee0bf"
|
||||
var buildstamp = "2022-10-08_02:58:04"
|
||||
var commits = "53"
|
||||
var version = "a7ee0bf-b53 - 2022-10-08_02:58:04"
|
||||
var githash = "7f9cf49"
|
||||
var buildstamp = "2022-10-08_03:14:52"
|
||||
var commits = "54"
|
||||
var version = "7f9cf49-b54 - 2022-10-08_03:14:52"
|
||||
|
Loading…
Reference in New Issue
Block a user