X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=b79d3c175a162dc8edc1ac4ee88d4cd59cc688a6;hp=152862bea36c2f886bcd8c6872b0a16e6e5a9f48;hb=5b019f814d9278d1567381877b96a1731d0f7e2b;hpb=82589516e2473b5451218d7b00a9dfbc3e18f3ca diff --git a/sendlib.c b/sendlib.c index 152862b..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 @@ -1908,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 { @@ -1939,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);