Commit ecb91d15 authored by Michael Gratton's avatar Michael Gratton 🤞

Ensure Smtp.ClientSession is quoting RCPT addresses correctly

parent 9ba7c75c
......@@ -217,7 +217,7 @@ public class Geary.Smtp.ClientSession {
// TODO: Support mailbox groups
foreach (RFC822.MailboxAddress mailbox in addrlist) {
RcptRequest rcpt_request = new RcptRequest.plain(mailbox.address);
RcptRequest rcpt_request = new RcptRequest.plain(mailbox.to_rfc822_address());
Response response = yield cx.transaction_async(rcpt_request, cancellable);
if (!response.code.is_success_completed()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment