X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=b79d3c175a162dc8edc1ac4ee88d4cd59cc688a6;hp=a81949c5bf89ae933201051cc1f15380b10527a7;hb=cee5fbe35ef7c5b6d0593dc5c35b1c40b74eed38;hpb=923e295d2cd179be0ab05890c9788bb822b1b340 diff --git a/sendlib.c b/sendlib.c index a81949c..b79d3c1 100644 --- a/sendlib.c +++ b/sendlib.c @@ -18,16 +18,15 @@ #include #include -#include - #include "mutt.h" #include "handler.h" +#include "crypt.h" #include "recvattach.h" #include "copy.h" #include "pager.h" #include "charset.h" #include "mutt_idna.h" -#include "mutt_libesmtp.h" +#include "send_smtp.h" #ifdef USE_NNTP #include @@ -1107,8 +1106,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); @@ -1910,8 +1907,7 @@ static int mutt_invoke_sendmail (address_t * from, /* the sender */ struct stat st; if (!stat(childout, &st) && st.st_size > 0) - mutt_do_pager(_("Output of the delivery process"), childout, 0, - NULL); + mutt_pager(_("Output of the delivery process"), childout, 0, NULL); } } } else { @@ -1941,7 +1937,7 @@ int mutt_invoke_mta (address_t * from, /* the sender */ if (!option (OPTNEWSSEND)) #endif if (SmtpHost) - return mutt_libesmtp_invoke (from, to, cc, bcc, msg, eightbit); + return send_smtp_invoke (from, to, cc, bcc, msg, eightbit); #endif return mutt_invoke_sendmail (from, to, cc, bcc, msg, eightbit);