The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
Your code:
mail($recipient,$subject,$message,$headers)
should be changed to:
mail($recipient, $subject, $message, 'From: [email protected]', '-f [email protected]');
where [email protected] is a Freeola hosted email address.
So that whole section of code could be changed to:
$message = "You received this e-mail message through your website: \n\n";
foreach($c as $key => $val){
$message .= ucwords($key).": $val\n";
}
$message .= "IP: "'.$_SERVER['REMOTE_ADDR'].'" \n";
$message .= "Browser: "'.$_SERVER['HTTP_USER_AGENT'];
$headers = "From: [email protected]" . "\r\n" .
"Reply-To: "'.$c['email'].'" . "\r\n";
$recipient = "[email protected]";
if(mail($recipient,$subject,$message,$headers,'-f [email protected]')){
echo "Your mail was successfully sent.";
}
I have stripped out the check for a Windows server as all Freeola servers are Unix based.
Give that a try!
"Automatic Form Email"; $message = "You received this e-mail message through your website: \n\n"; foreach ($c as $key => $val) { $message .= ucwords($key) . ": $val \n"; } $message .= "IP: {$_SERVER['REMOTE_ADDR']} \n"; $message .= "Browser: {$_SERVER['HTTP_USER_AGENT']}"; if (strstr($_SERVER['SERVER_SOFTWARE'], "Win")) { $headers = "From: [email protected] \n"; $headers .= "Reply-To: {$c['email']}"; } else { $headers = "From: Slick Studio \n"; $headers .= "Reply-To: {$c['email']}"; } $recipient = "[email protected]"; if (mail($recipient,$subject,$message,$headers)) { echo "
Your mail was successfully sent.
Any help would be greatly appreciated!
Any help would be much appreciated!
Please let me know if you experience any further problems.
This is pathetic.
I'm not happy, I pay for my Freeola (which, ironically, works out about 3 times more expensive than other hosts)
I'm disgusted with the service so far (it's not just this, I've had loads of thnigs go wrong and I've also got charged TWICE this month for this poor service)
If this MySQL problem isn't sorted then I'm demanding my money back.