[geary/mjog/1126-dot-stuffing: 2/2] Geary.Smtp.ClientSession: Ensure SMTP data is sent dot-stuffed




commit cc5d4ffa623621689eafb41e626cdc01b2599af8
Author: Michael Gratton <mike vee net>
Date:   Thu Jan 28 22:10:03 2021 +1100

    Geary.Smtp.ClientSession: Ensure SMTP data is sent dot-stuffed
    
    Fixes #1126

 src/engine/smtp/smtp-client-session.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/engine/smtp/smtp-client-session.vala b/src/engine/smtp/smtp-client-session.vala
index 33069afde..f16eb2987 100644
--- a/src/engine/smtp/smtp-client-session.vala
+++ b/src/engine/smtp/smtp-client-session.vala
@@ -215,7 +215,7 @@ public class Geary.Smtp.ClientSession : BaseObject, Logging.Source {
 
         // DATA
         response = yield cx.send_data_async(
-            email.get_rfc822_buffer(), cancellable
+            email.get_rfc822_buffer(SMTP_FORMAT), cancellable
         );
         if (!response.code.is_success_completed())
             response.throw_error("Unable to send message");


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