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.
I doubt if there’s any reason why the Freeola server would reject the script, so I can only assume I’ve written it wrongly. With only three fields (Name, Company, Email) it should be fairly short and I’m wondering if anyone out there can give me a sample of the basic code. I’d very much appreciate some help.
$fn= $_GET["fn"];
$sn= $_GET["sn"];
$t= $_GET["t"];
$c= $_GET["c"];
$email= $_GET["email"];
$to = "motivationalspeaking.co.uk";
$subject = "Motivational Speaking Enquiries";
$body = "Forename: $fnnSurname: $snnTelephone: $tnE-mail: $emailnComments $c";
mail($to, $subject, $body, 'From: [email protected]','-f [email protected]');
?>
I'll certainly give it a try.
> Hi
....
> $to = "[email protected]";
> $subject = "Motivational Speaking Enquiries";
> $body = "Forename: $fnnSurname: $snnTelephone: $tnE-mail:
> $emailnComments $c";
>
> mail($to, $subject, $body,
> '[email protected]','-f
> [email protected]');
>
> ?>
Hi Ardee,
I've checked your syntax against my own code and notice you have missed the 'From: ' part of the from address. I remember Freeola changing this a while ago to prevent auto-mailers (I think) - a quick check of the Freeola help & support shows the syntax for your mail() should be:
mail($to, $subject, $body, 'From: [email protected]', '-f [email protected]');
Give it a shot.
JTD
I've stripped the php file right down to basics and I'm still having problems. I'd appreciate it if you had a look at it and let me know if there's something amiss. Thanks.
$to = "[email protected]";
$subject = "Motivational Speaking Enquiries";
$body = "Forename: $fnnSurname: $snnTelephone: $tnE-mail: $emailnComments $c";
mail($to, $subject, $body, '[email protected]','-f [email protected]');
?>
There's lots of tutorials on Flash and how to make typical necessities like contact forms so you should find what you need without too much trouble.
You'll almost never be the only person with a particular problem (of any sort..!), so it's always worth a search on Google for what you're after.
Let me know if you need any further help :)
You will need to supply a bit more information first before we can help you fully. Is your site live for us to have a look?
Please post the code (Actionscipt) that is on your Flash button, and the PHP script that you are using to send the mail :)
Thanks!
Also: Google is always your friend..! (At least it is mine) - http://www.google.co.uk/search?q=flash+email+form+php&sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-20,GGGL:en
I doubt if there’s any reason why the Freeola server would reject the script, so I can only assume I’ve written it wrongly. With only three fields (Name, Company, Email) it should be fairly short and I’m wondering if anyone out there can give me a sample of the basic code. I’d very much appreciate some help.