PDA

View Full Version : to jesse to jesse to jesse stratford


berklm
03-22-2001, 05:28 PM
hello jesse, i have a couple of questions about your send-mail tutorial with php and flash.

firstable: when I put a new variable like "$name" the script dont work......in consecuence I never get the name of the sender

second: this variables "$subject" and "$message" work perfectly and when I press the Reply button Can see the e-mail of the sender ....What itīs happenning am doing this look:

<?php
mail("myemail@.com",$name, $subject, $message, "From: PHPMailer\nReply-To: $from\nX-Mailer: PHP/" . phpversion());
?>


the script above dont work why??????????


by the way do you speak spanish? would be great for me....

Jesse
03-22-2001, 11:54 PM
You can't just add your own variables. This PHP function takes only 2 variables, so if you want to add the sender's name you will need to put it in the message body, or maybe use the "from" argument which is explained here: http://www.php.net/manual/en/function.mail.php . That URL has all the info you will need.

And no I don't speak Spanish, los siento.

Cheers

Jesse