# Plz help me with this flash submit form

**URL:** <https://forum.kirupa.com/t/plz-help-me-with-this-flash-submit-form/154497>\
**Category:** flash\
**Created:** [July 10, 2005, 12:31pm UTC](https://forum.kirupa.com/t/plz-help-me-with-this-flash-submit-form/154497 "2005-07-10T12:31:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BhavikShah](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@BhavikShah](https://forum.kirupa.com/u/BhavikShah)\
**Post date:** [July 10, 2005, 12:31pm UTC](https://forum.kirupa.com/t/plz-help-me-with-this-flash-submit-form/154497/1 "2005-07-10T12:31:14Z")

</div>

Dear Friends,

i tried tuts and other script and came up with this form. In this form everything goes well bt where i m stuck up is my php file does not mail data to the given email add. Flash properly submit data to php files bt i m not getting mail. I’ve tried to send it on other email add also bt not getting mail.

I am writing following code in my php file.

\<?php  
$sendTo = “[bhavik@distiltech.com](mailto:bhavik@distiltech.com)”;  
$subject = “Online Enquiry”;  
$name\_field = $\_POST[‘name’];  
$email\_field = $\_POST[‘email’];  
$company\_field = $\_POST[‘company’];  
$add1\_field = $\_POST[‘add1’];  
$add2\_field = $\_POST[‘add2’];  
$add3\_field = $\_POST[‘add3’];  
$groundspices\_field = $\_POST[‘ch1’];  
$blendedpices\_field = $\_POST[‘ch2’];  
$asafoetidaspices\_field = $\_POST[‘ch3’];  
$msg = $\_POST[‘message’];

$body = “Name: $name\_field  
Email: $email\_field  
Company: $company\_field  
Add1: $add1\_field  
Add2: $add2\_field  
Add3: $add3\_field  
GroundSpice: $groundspices\_field  
BlendedSpice: $blendedpices\_field  
Asafoetida: $asafoetidaspices\_field  
Message: $msg”;

mail($sendTo, $subject, $body);  
?\>

Many thx in advance for your time and comments.
