X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=152862bea36c2f886bcd8c6872b0a16e6e5a9f48;hp=ad29311c6ecfdff05852582ca4bfdfa6dde261e6;hb=82589516e2473b5451218d7b00a9dfbc3e18f3ca;hpb=92c3d4c767ddbc0e0c64dd6e132ce10627550580 diff --git a/sendlib.c b/sendlib.c index ad29311..152862b 100644 --- a/sendlib.c +++ b/sendlib.c @@ -27,10 +27,7 @@ #include "pager.h" #include "charset.h" #include "mutt_idna.h" - -#ifdef USE_LIBESMTP -# include "mutt_libesmtp.h" -#endif /* USE_LIBESMTP */ +#include "mutt_libesmtp.h" #ifdef USE_NNTP #include @@ -1110,8 +1107,6 @@ BODY *mutt_make_message_attach (CONTEXT * ctx, HEADER * hdr, int attach_msg) if ((option (OPTMIMEFORWDECODE) || option (OPTFORWDECRYPT)) && (hdr->security & ENCRYPT)) { - if (!crypt_valid_passphrase (hdr->security)) - return (NULL); } fp = m_tempfile(buffer, sizeof(buffer), NONULL(MCore.tmpdir), NULL); @@ -1980,12 +1975,7 @@ void mutt_prepare_envelope (ENVELOPE * env, int final) rfc2047_encode_adrlist(env->reply_to, "Reply-To"); if (env->subject) -#ifdef USE_NNTP - if (!option (OPTNEWSSEND) || option (OPTMIMESUBJECT)) -#endif - { - rfc2047_encode_string (&env->subject); - } + rfc2047_encode_string (&env->subject); encode_headers (env->userhdrs); }