mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-12 17:40:39 +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']);
|
||||
} elseif (filter('op') == 'send-email') {
|
||||
$template = Mail::getTemplate($post['template']);
|
||||
|
||||
$id_account = $template['id_smtp'];
|
||||
|
||||
// Elenco degli allegati
|
||||
$attachments = [];
|
||||
|
||||
@ -268,7 +269,7 @@ if (filter('op') == 'link_file' || filter('op') == 'unlink_file') {
|
||||
}
|
||||
|
||||
// Preparazione email
|
||||
$mail = new Mail();
|
||||
$mail = new Mail($id_account);
|
||||
|
||||
// Conferma di lettura
|
||||
if (!empty($post['read_notify'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user