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.
Here is the script :-
function sendmail()
{
global $mail_to, $mail_from_name, $mail_from_email; $mail_body;
$mail_parts["mail_to"] = $mail_to;
$mail_parts["mail_from_name"] = $mail_from_name;
$mail_parts["mail_from_email"] = $mail_from_email;
$mail_parts["mail_body"] = $mail_body;
$mail_to = [email protected]
if(my_mail($mail_parts))
user_message("Successfully sent an e-mail title '$mail_subject'.");
else error_message("An unknown error occurred while attempting to send an e-mail title '$mail_subject'.");
}
function my_mail($mail_parts)
{
$mail_from = $mail_parts["mail_from_name"];
$mail_body = $mail_parts["mail_body"];
if(empty($mail_to)) error_message("Empty to field!");
if(empty($mail_body)) error_message("No message!");
$mail_to = str_replace("; ", ",", $mail_to);
$mail_headers = '';
$mail_subject = stripsplashes($mail_subject);
$mail_body = stripslashes($mail_body);
return mail ($mail_body);
}
?>
This is the page where users can send the feedback:-
http://wallpapers.mega.net.kg/feedback/
Any suggestions would be helpful, cheers.
By the way, I know the site looks complete crap on Netscape, I'm in the middle of sorting that :).
$mail_parts["mail_to"] = $mail_to;
$mail_parts["mail_from_name"] = $mail_from_name;
$mail_parts["mail_from_email"] = $mail_from_email;
$mail_parts["mail_body"] = $mail_body;
with
mail($mail_to, "Feed Back Form Results", "
FROM: $mail_from_name ($mail_from_email)
$mail_body"
", "FROM:$mail_from_email");
or do I need to put his above/below the mail parts?
This is all a little bit confusing for me.
$mail_to = [email protected]
mail($mail_to, "Feed Back Form Results", "
FROM: $mail_from_name ($mail_from_email)
$mail_body"
", "FROM:$mail_from_email");
Is the simplest way, though the validation isn't included in that.
Check out the free mySQL host thread I made, I know you were looking for one :).
.. I'm looking it it now though, and I'll let you know about the rest.
Here is the script :-
function sendmail()
{
global $mail_to, $mail_from_name, $mail_from_email; $mail_body;
$mail_parts["mail_to"] = $mail_to;
$mail_parts["mail_from_name"] = $mail_from_name;
$mail_parts["mail_from_email"] = $mail_from_email;
$mail_parts["mail_body"] = $mail_body;
$mail_to = [email protected]
if(my_mail($mail_parts))
user_message("Successfully sent an e-mail title '$mail_subject'.");
else error_message("An unknown error occurred while attempting to send an e-mail title '$mail_subject'.");
}
function my_mail($mail_parts)
{
$mail_from = $mail_parts["mail_from_name"];
$mail_body = $mail_parts["mail_body"];
if(empty($mail_to)) error_message("Empty to field!");
if(empty($mail_body)) error_message("No message!");
$mail_to = str_replace("; ", ",", $mail_to);
$mail_headers = '';
$mail_subject = stripsplashes($mail_subject);
$mail_body = stripslashes($mail_body);
return mail ($mail_body);
}
?>
This is the page where users can send the feedback:-
http://wallpapers.mega.net.kg/feedback/
Any suggestions would be helpful, cheers.
By the way, I know the site looks complete crap on Netscape, I'm in the middle of sorting that :).