Use: $_POST or $_HTTP_POST_VARS $mail_to=$_POST['txtEmailto']; $mail_from=$_POST['txtEmailfrm']; and so on ... -husain- ------------------------- Original Message: From: ahmed sirag <seragart4@xxxxxxxxx> Date: Friday, August 19 2005 03:30 PM Subject: problem in sending email from php form Hi, I have a problem in sending email from php form. I use the following page to send mail http://www.talentlogo.com/asp/send3.php But unfortunately no thing was sent, I have attached the source code to you and I hope that you can help me. <?php //Check whether the submission is made if(isset($hidSubmit)){ //Declarate the necessary variables $mail_to=$txtEmailto; $mail_from=$txtEmailfrm; $mail_sub=$txtSub; $mail_mesg=$txtMsg; <form name="frmsendmail" method="post" action="" onSubmit="return ValidationForm()"> ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hfv8rfv/M=362335.6886445.7839731.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1124450521/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/">In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!</a>.</font> --------------------------------------------------------------------~-> PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/