mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-14 18:40:36 +01:00
Bugfix: corretto indirizzo mittente in invio mail
This commit is contained in:
parent
bfea917c6a
commit
e143624cf3
@ -220,7 +220,8 @@ if (filter('op') == 'link_file' || filter('op') == 'unlink_file') {
|
|||||||
download($upload_dir.'/'.$rs[0]['filename'], $rs[0]['original']);
|
download($upload_dir.'/'.$rs[0]['filename'], $rs[0]['original']);
|
||||||
} elseif (filter('op') == 'send-email') {
|
} elseif (filter('op') == 'send-email') {
|
||||||
$template = Mail::getTemplate($post['template']);
|
$template = Mail::getTemplate($post['template']);
|
||||||
|
$id_account = $template['id_smtp'];
|
||||||
|
|
||||||
// Elenco degli allegati
|
// Elenco degli allegati
|
||||||
$attachments = [];
|
$attachments = [];
|
||||||
|
|
||||||
@ -268,7 +269,7 @@ if (filter('op') == 'link_file' || filter('op') == 'unlink_file') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Preparazione email
|
// Preparazione email
|
||||||
$mail = new Mail();
|
$mail = new Mail($id_account);
|
||||||
|
|
||||||
// Conferma di lettura
|
// Conferma di lettura
|
||||||
if (!empty($post['read_notify'])) {
|
if (!empty($post['read_notify'])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user