Browse Source

melib/smtp: fix SMTP syntax error on DSN notify use

jmap-eventsource
Manos Pitsidianakis 1 year ago
parent
commit
aa7ebf2918
Signed by: epilys GPG Key ID: 73627C2F690DF710
  1. 2
      melib/src/smtp.rs

2
melib/src/smtp.rs

@ -572,7 +572,7 @@ impl SmtpConnection {
current_command.push(b"RCPT TO:<");
current_command.push(addr.address_spec_raw().trim());
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());
} else {
current_command.push(b">");

Loading…
Cancel
Save