diff --git a/plugins/mail/init.php b/plugins/mail/init.php index 21b58d73..4b1989f5 100644 --- a/plugins/mail/init.php +++ b/plugins/mail/init.php @@ -182,7 +182,8 @@ class Mail extends Plugin { $mail = new ttrssMailer(); - $mail->AddReplyTo(strip_tags($_REQUEST['from_email'], $_REQUEST['from_name'])); + $mail->AddReplyTo(strip_tags($_REQUEST['from_email']), + strip_tags($_REQUEST['from_name'])); //$mail->AddAddress($_REQUEST['destination']); $addresses = explode(';', $_REQUEST['destination']); foreach($addresses as $nextaddr)