Add pop before smtp
[claws.git] / src / prefs_account.h
index 1f6f0f9796e2178be14fdb94adab505bb6012f1f..9a0dc8714216f8ad709413679701112e1ce462ae 100644 (file)
@@ -45,6 +45,8 @@ typedef enum {
 } RecvProtocol;
 
 typedef enum {
+       /* just login (pop before smtp) */
+       STYPE_POP_BEFORE_SMTP,
        /* login and retrieve messages, as before */
        STYPE_NORMAL,
        /* send TOP to server and retrieve all available Headers */
@@ -118,14 +120,10 @@ struct _PrefsAccount
        gboolean gen_msgid;
        gboolean add_customhdr;
        gboolean use_smtp_auth;
+       SMTPAuthType smtp_auth_type;
        gchar *smtp_userid;
        gchar *smtp_passwd;
 
-       /* CLAWS: SMTP AUTH */
-       gboolean smtp_auth_enable_login;
-       gboolean smtp_auth_enable_cram_md5;
-       gboolean smtp_auth_enable_digest_md5;
-
        /* Temporarily preserved password */
        gchar *tmp_smtp_pass;
 
@@ -145,8 +143,9 @@ struct _PrefsAccount
 #if USE_GPGME
        /* Privacy */
        gboolean default_encrypt;
-       gboolean ascii_armored;
        gboolean default_sign;
+       gboolean ascii_armored;
+       gboolean clearsign;
        SignKeyType sign_key;
        gchar *sign_key_id;
 #endif /* USE_GPGME */