[geary/wip/789271-mailfence-contact-office-compat: 2/3] Fix criticial sending mail in the mailer



commit 34e34c039dc80ec9ec2455a71b5bcc24b997bcba
Author: Michael Gratton <mike vee net>
Date:   Fri Feb 8 16:04:30 2019 +1100

    Fix criticial sending mail in the mailer

 src/mailer/main.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/mailer/main.vala b/src/mailer/main.vala
index a3528604..29748eca 100644
--- a/src/mailer/main.vala
+++ b/src/mailer/main.vala
@@ -48,7 +48,7 @@ async void main_async() throws Error {
         
         stdout.printf("\n\n%s\n\n", msg.to_string());
         
-        yield session.send_email_async(msg.sender, msg);
+        yield session.send_email_async(msg.from.get(0), msg);
         
         stdout.printf("Sent email #%d\n", ctr);
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]