Skip to content

Commit

Permalink
Bugfix: corretto indirizzo mittente in invio mail
Browse files Browse the repository at this point in the history
  • Loading branch information
Bacca1997 committed Jun 25, 2018
1 parent bfea917 commit e143624
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions actions.php
Expand Up @@ -220,7 +220,8 @@
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 = [];

Expand Down Expand Up @@ -268,7 +269,7 @@
}

// Preparazione email
$mail = new Mail();
$mail = new Mail($id_account);

// Conferma di lettura
if (!empty($post['read_notify'])) {
Expand Down

0 comments on commit e143624

Please sign in to comment.