fix(transport-sendmail): Stop argument parsing before destination addresses

This commit is contained in:
Alexis Mousset
2020-11-11 17:50:09 +01:00
parent 0d3988d499
commit e051fecd4c

View File

@@ -52,6 +52,7 @@ impl<'a, T: Read + 'a> EmailTransport<'a, T, SendmailResult> for SendmailTranspo
"-i", "-i",
"-f", "-f",
&email.from().to_string(), &email.from().to_string(),
"--",
&to_addresses.join(" "), &to_addresses.join(" "),
], ],
) )