For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > April 2005 > php email flash









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author php email flash
kyrbi

2005-04-26, 3:57 pm

hi, using flash and php script I try to send mail from my website (linux
hosting)

The script is working but if I enable the marked lines (//....) the
script doesn't want to send mail .....

any idea?

name, subject, message & email are vars from the flash (post)
_parent.loadVariables("form.php", "POST");
Thanks!


$to = "naam@mydomain.com";
$msg = "Mail afkamstig van: " ;
$msg .= "$name\n\n";
//$msg .= "Emailadres: ";
//$msg .= "$email\n";
//$msg .= "Boodschap: ";
//$msg .= "\n\n";
$msg .= "$message\n\n";

mail($to, $subject, $msg, "From: Mijn web site\nReply-To: $email\n");




Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com