removed local account without SMTP server - added option to use mail command
[claws.git] / src / send.c
index 09aa4593bef65469faa957ddf75023b33e9744e8..c7b07cf7dce4bf0cfaab5c1f9a9a15cf69871712 100644 (file)
@@ -88,7 +88,7 @@ gint send_message(const gchar *file, PrefsAccount *ac_prefs, GSList *to_list)
                return -1;
        }
 
-       if (ac_prefs->protocol == A_LOCAL_CMD)
+       if (ac_prefs->protocol == A_LOCAL && ac_prefs->use_mail_command)
                {
                        val = send_message_with_command(to_list,
                                                        ac_prefs->mail_command,