Launch exe for imap2 when new mail is found;
SVN revision: 33294
This commit is contained in:
parent
58aebf083b
commit
a80f1bd4bc
5
imap2.c
5
imap2.c
|
@ -222,6 +222,11 @@ _mail_imap_server_del (void *data, int type, void *event)
|
||||||
ic->server = NULL;
|
ic->server = NULL;
|
||||||
|
|
||||||
_mail_set_text (ic->data);
|
_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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue