Launch exe for imap2 when new mail is found;

SVN revision: 33294
This commit is contained in:
Christopher Michael 2007-12-30 00:04:37 +00:00
parent 58aebf083b
commit a80f1bd4bc
1 changed files with 5 additions and 0 deletions

View File

@ -222,6 +222,11 @@ _mail_imap_server_del (void *data, int type, void *event)
ic->server = NULL;
_mail_set_text (ic->data);
if ((ic->config->num_new > 0)
&& (ic->config->use_exec) && (ic->config->exec))
_mail_start_exe (ic->config);
return 0;
}