mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-22 18:16:43 +00:00
Prefer From header instead of MAIL FROM address
This commit is contained in:
@ -74,6 +74,8 @@ func (c *SMTPClient) SendCommands(commands ...string) *SMTPResponse {
|
||||
smtpResponse := &SMTPResponse{t: c.t}
|
||||
|
||||
for _, command := range commands {
|
||||
command = strings.ReplaceAll(command, "[userAddress]", c.address)
|
||||
|
||||
tstart := time.Now()
|
||||
|
||||
c.debug.printReq(command)
|
||||
|
||||
Reference in New Issue
Block a user