comparison src/smtp_out.h @ 246:4cff8638dd9b

SMTP client: tries EHLO now always first Changed the behavior of the SMTP client. Now always an EHLO greeting is sent, no matter what kind of greeting text the server had sent. If the EHLO failed, an HELO greeting is tried as fall back. This is the behavior RFC 2821 requires (section 3.2). This change will fix setups that were not possible to sent to a server because that requires AUTH but hadn't said ``ESMTP'' in its greeting message. See also: Debian bug #349211 Thanks to Steffen (inne)
author markus schnalke <meillo@marmaro.de>
date Thu, 28 Oct 2010 16:40:02 -0300
parents 8cddc65765bd
children 412385b57dc4
comparison
equal deleted inserted replaced
245:2f5e2b6a3a39 246:4cff8638dd9b
52 gchar *helo_name; 52 gchar *helo_name;
53 53
54 gchar *buffer; 54 gchar *buffer;
55 gint last_code; 55 gint last_code;
56 56
57 gboolean use_esmtp;
58 gboolean use_size; 57 gboolean use_size;
59 gboolean use_pipelining; 58 gboolean use_pipelining;
60 gboolean use_auth; 59 gboolean use_auth;
61 60
62 gint max_size; 61 gint max_size;