mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
fix(email): set sender address as return-path header (#4569)
This commit is contained in:
parent
da51b481ee
commit
9ae58b62fd
@ -32,6 +32,7 @@ func (msg *Email) GetContent() string {
|
||||
from = fmt.Sprintf("%s <%s>", msg.SenderName, msg.SenderEmail)
|
||||
}
|
||||
headers["From"] = from
|
||||
headers["Return-Path"] = msg.SenderEmail
|
||||
headers["To"] = strings.Join(msg.Recipients, ", ")
|
||||
headers["Cc"] = strings.Join(msg.CC, ", ")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user