From aa7ebf29183a1d962de6d7841e36e1b4d288bf17 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Tue, 10 Nov 2020 20:03:00 +0200 Subject: [PATCH] melib/smtp: fix SMTP syntax error on DSN notify use --- melib/src/smtp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/melib/src/smtp.rs b/melib/src/smtp.rs index a0f32d087..e138449f1 100644 --- a/melib/src/smtp.rs +++ b/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">");