stop the service properly and update doc
This commit is contained in:
+2
-2
@@ -40,10 +40,10 @@ func FromJSON(path string) (Email, error) {
|
||||
|
||||
func (e Email) Generate() []byte {
|
||||
mail := fmt.Sprintf(
|
||||
"To: %s\nFrom: %s\nContent-Type: text/html\nSubject: %s\n\n%s",
|
||||
"To: %s\nFrom: %s\nContent-Type: text/html;charset=utf-8\nSubject: %s\n\n%s",
|
||||
strings.Join(e.Receivers, ","),
|
||||
e.Sender,
|
||||
e.Sender,
|
||||
e.Subject,
|
||||
e.Content,
|
||||
)
|
||||
return []byte(mail)
|
||||
|
||||
Reference in New Issue
Block a user