melib/smtp: fix SMTP syntax error on DSN notify use
parent
2544f54107
commit
aa7ebf2918
|
@ -572,7 +572,7 @@ impl SmtpConnection {
|
||||||
current_command.push(b"RCPT TO:<");
|
current_command.push(b"RCPT TO:<");
|
||||||
current_command.push(addr.address_spec_raw().trim());
|
current_command.push(addr.address_spec_raw().trim());
|
||||||
if let Some(dsn_notify) = dsn_notify.as_ref() {
|
if let Some(dsn_notify) = dsn_notify.as_ref() {
|
||||||
current_command.push(b" NOTIFY=");
|
current_command.push(b"> NOTIFY=");
|
||||||
current_command.push(dsn_notify.as_bytes());
|
current_command.push(dsn_notify.as_bytes());
|
||||||
} else {
|
} else {
|
||||||
current_command.push(b">");
|
current_command.push(b">");
|
||||||
|
|
Loading…
Reference in New Issue