isupport wrote:
Try to edit the file modules/mod_simplecontact/helper.php, at line 42, 43 modify:
$Mailer->setSender($fromArray);
$Mailer->addReplyTo($fromArray);
to:
$Mailer->setSender($fromEmail, $fromName);
$Mailer->addReplyTo($fromEmail, $fromName);
joomfreak
Thank you, but this solution don't work for me.
I obtain the error:
Parse error: syntax error, unexpected 'defined' (T_STRING) in /var/www/vhosts/domain.com/httpdocs/modules/mod_simplecontact/helper.php on line 1
Also in my own case this code is at lines 83, 85. I attached "helper.php" file.
How can I fix this problem?
Thank you