forked from Silverfish/proton-bridge
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