mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 04:12:26 -06:00
[bugfix] add From to email header (#1717)
* add From to email header * update tests
This commit is contained in:
parent
6a29c5ffd4
commit
fdd2487cfb
3 changed files with 11 additions and 10 deletions
|
@ -103,6 +103,7 @@ func assembleMessage(mailSubject string, mailBody string, mailFrom string, mailT
|
|||
// msg headers.'
|
||||
msg.WriteString("To: Undisclosed Recipients:;" + CRLF)
|
||||
}
|
||||
msg.WriteString("From: " + mailFrom + CRLF)
|
||||
msg.WriteString("Subject: " + mailSubject + CRLF)
|
||||
msg.WriteString(CRLF)
|
||||
msg.WriteString(mailBody)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue