Hi, I'm having a problem ever since I switched hosting servers.
My contact page form and other email forms aren't working on the server.
This is what suport emailed me:
Mar 24 19:59:26 hercules suhosin[30188]: ALERT - mail() - To: headers aren't allowed in the headers parameter. (attacker '99.108.165.151', file > '/home/manilade/public_html/wp-includes/class-phpmailer.php', line 769) Mar 24 20:00:19 hercules suhosin[5929]: ALERT - mail() - To: headers aren't allowed in the headers parameter. (attacker '99.108.165.151', file '/home/manilade/public_html/wp-includes/class-phpmailer.php', line 769)
When I deleted 769, I got 2 errors. 1. Undefined variable line 771: $isSent = ($rt == 1) ? 1 : 0; 2. Undefined variable line 778: if(!$rt) {
Does anyone know how to fix this? thanks.