mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-05 16:48:34 +00:00
Fix sending error due to mixed case in sender address
This commit is contained in:
@ -75,6 +75,7 @@ func (c *SMTPClient) SendCommands(commands ...string) *SMTPResponse {
|
||||
|
||||
for _, command := range commands {
|
||||
command = strings.ReplaceAll(command, "[userAddress]", c.address)
|
||||
command = strings.ReplaceAll(command, "[userAddress|capitalize]", strings.Title(c.address))
|
||||
|
||||
tstart := time.Now()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user