diff --git a/mail.php b/mail.php index 8ea6a934a..afe90009e 100644 --- a/mail.php +++ b/mail.php @@ -49,14 +49,14 @@ echo '
'.tr('Mittente').': '.$smtp['from_name'].' <'.$smtp['from_address'].'>
'; -if (!empty($smtp['cc'])) { +if (!empty($template['cc'])) { echo ' -'.tr('CC').': '.$smtp['cc'].'
'; +'.tr('CC').': '.$template['cc'].'
'; } -if (!empty($smtp['cc'])) { +if (!empty($template['bcc'])) { echo ' -'.tr('CCN').': '.$smtp['bcc'].'
'; +'.tr('CCN').': '.$template['bcc'].'
'; } echo '