Patch level : 12.0 484
Files correlati : Commento : Modificato invio email, se la powershell è attivata chiama la funzione specifica git-svn-id: svn://10.65.10.50/branches/R_10_00@24222 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3f16b0615d
commit
eb45e8eded
@ -112,6 +112,8 @@ bool spotlite_send_mail(const TFilename& pdf)
|
||||
subj.cut(0) << TR("Invio di ") << pdf.name();
|
||||
if (!(flags & 0x1) && to.empty_items() && cc.empty_items() && ccn.empty_items())
|
||||
flags |= 0x1; // Forza UI in assenza di destinatari
|
||||
ok = xvt_mail_send(to, cc, ccn, subj, text, attach, flags) != 0;
|
||||
static bool usePower = ini_get_bool(CONFIG_USER, "Mail", "Powershell");
|
||||
ok = (usePower ? xvt_powermail_send(to, cc, ccn, subj, text, attach, flags, user()) :
|
||||
xvt_mail_send(to, cc, ccn, subj, text, attach, flags)) != 0;
|
||||
return ok;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user