summaryrefslogtreecommitdiff
path: root/pith/newmail.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-06-07 21:14:19 -0600
committerEduardo Chappa <chappa@washington.edu>2020-06-07 21:14:19 -0600
commitd1300c95499f3b422c2299432eb4acc93cf4618a (patch)
treef516d0630fbb085ac689c2010e07cbbe6c281ca5 /pith/newmail.c
parent6c702a26f10f04bf225aa914b2eae5b89e3d0b4a (diff)
downloadalpine-d1300c95499f3b422c2299432eb4acc93cf4618a.tar.xz
* Experimental: Alpine can pass an HTML message to an external web browser, by using
the "External" command in the ATTACHMENT INDEX screen. * Experimental: New configuration variable "External Command Loads Inline Images Only" that controls if Alpine will pass to an external browser a link to all the images in the HTML message, or will only pass a link to inline images included in the message. For your privacy and security this feature is enabled by default.
Diffstat (limited to 'pith/newmail.c')
-rw-r--r--pith/newmail.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/pith/newmail.c b/pith/newmail.c
index db8d36bb..1f026eeb 100644
--- a/pith/newmail.c
+++ b/pith/newmail.c
@@ -31,6 +31,7 @@ static char rcsid[] = "$Id: newmail.c 1266 2009-07-14 18:39:12Z hubert@u.washing
#include "../pith/options.h"
#include "../pith/folder.h"
#include "../pith/ablookup.h"
+#include "../pith/init.h"
#ifdef _WINDOWS
#include "../pico/osdep/mswin.h"
@@ -102,12 +103,15 @@ new_mail(int force_arg, CheckPointTime time_for_check_point, int flags)
timeo = get_input_timeout();
- if(time_for_check_point == GoodTime)
+ if(time_for_check_point == GoodTime){
adrbk_maintenance();
+ html_dir_clean(0);
+ }
if(time_for_check_point == GoodTime || force_arg)
folder_unseen_count_updater(UFU_ANNOUNCE | (force_arg ? UFU_FORCE : 0));
+
if(sp_need_to_rethread(ps_global->mail_stream))
force = 1;