# Flash/PHP Email: Undefined

**URL:** <https://forum.kirupa.com/t/flash-php-email-undefined/305055>\
**Category:** Uncategorized\
**Created:** [February 18, 2010, 2:47pm UTC](https://forum.kirupa.com/t/flash-php-email-undefined/305055 "2010-02-18T14:47:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpicardd](https://avatars.discourse-cdn.com/v4/letter/m/7ba0ec/32.png) [@mpicardd](https://forum.kirupa.com/u/mpicardd)\
**Post date:** [February 18, 2010, 2:47pm UTC](https://forum.kirupa.com/t/flash-php-email-undefined/305055/1 "2010-02-18T14:47:15Z")

</div>

Hello, I am using Flash and php to make an email form. Right now I am testing out the code. The messages send to my email, however, when they get to my email, it says “undefined.”

FROM: [[COLOR=#0066cc]undefined@p3nlhg140.shr.prod.phx3.secureserver.net[/COLOR]](mailto:undefined@p3nlhg140.shr.prod.phx3.secureserver.net)  
name: undefined  
email: undefined  
phone: undefined  
message: undefined

What does udefined mean? Can someone help me out here, please?

PHP CODE: (her’s the information in my php file)

\<?PHP  
$to = “[ne@mycreditrevival.com](mailto:ne@mycreditrevival.com)”;  
$subject = ‘contact’;  
$email = $\_POST[email];  
$msg = "name: $\_POST[name]  
";  
$msg .= "email: $\_POST[email]  
";  
$msg .= "phone: $\_POST[phone]  
";  
$msg .= "message: $\_POST[message]  
";  
mail($to, $subject, $msg, “From: \<$email\>”);  
?\>

Thank you in advance for your help.
