# Urgent help flash + php

**URL:** https://forum.kirupa.com/t/urgent-help-flash-php/236847
**Category:** programming
**Created:** [August 24, 2007, 5:29am UTC](https://forum.kirupa.com/t/urgent-help-flash-php/236847 "2007-08-24T05:29:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![montyT](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@montyT](https://forum.kirupa.com/u/montyT)
#### Post date: [August 24, 2007, 5:29am UTC](https://forum.kirupa.com/t/urgent-help-flash-php/236847/1 "2007-08-24T05:29:43Z")

</div>

hi guys  
I am having small problem regrading flash and php.

I have made a flash form submit with server side code is php. this is working fine. client is receiving mail in his Inbox, but As a spam not as email.

When i receive email in my hotmail account, that mail goes to the “junk mail” instead of Inbox.

Any one know the how do i solve this problem.

thanks for ur time  
my php code  
ActionScript Code:  
[FONT=Courier New][LEFT]\<?php  
$sendTo = $message;  
$subject = [COLOR=#ff0000]“Contact”[/COLOR];  
$sender = [COLOR=#ff0000]“sender :”[/COLOR].$\_POST[COLOR=#000000][[/COLOR][COLOR=#ff0000]“email”[/COLOR][COLOR=#000000]][/COLOR].[COLOR=#ff0000]"[COLOR=#000099] **\r** [/COLOR][COLOR=#000099]\*\*  
**[/COLOR]"[/COLOR];  
$headers = [COLOR=#ff0000]"From: “[/COLOR] . $\_POST[COLOR=#000000][[/COLOR][COLOR=#ff0000]“name”[/COLOR][COLOR=#000000]][/COLOR].[COLOR=#ff0000]”[COLOR=#000099]**\r\*\*[/COLOR][COLOR=#000099]\*\*  
**[/COLOR]"[/COLOR];  
$message = [COLOR=#ff0000]"Mail\_To : “[/COLOR].$\_POST[COLOR=#000000][[/COLOR][COLOR=#ff0000]“message”[/COLOR][COLOR=#000000]][/COLOR].[COLOR=#ff0000]”[COLOR=#000099]**  
**[/COLOR][COLOR=#000099]**  
**[/COLOR]"[/COLOR];  
$message .= [COLOR=#ff0000]"Sender Name : “[/COLOR] . $\_POST[COLOR=#000000][[/COLOR][COLOR=#ff0000]“name”[/COLOR][COLOR=#000000]][/COLOR].[COLOR=#ff0000]”[COLOR=#000099]**  
**[/COLOR][COLOR=#000099]**  
**[/COLOR]"[/COLOR];  
$message .= [COLOR=#ff0000]“URL : [http://www.google.com](http://www.google.com)”[/COLOR]. [COLOR=#ff0000]"[COLOR=#000099]**  
**[/COLOR][COLOR=#000099]**  
**[/COLOR]"[/COLOR];  
$message .= [COLOR=#ff0000]"comment : “[/COLOR].$\_POST[COLOR=#000000][[/COLOR][COLOR=#ff0000]“contnt”[/COLOR][COLOR=#000000]][/COLOR].[COLOR=#ff0000]”[COLOR=#000099]**  
**[/COLOR][COLOR=#000099]**  
\*\*[/COLOR]"[/COLOR];  
mail[COLOR=#000000]([/COLOR]$sendTo, $subject, $message, $headers, $sender[COLOR=#000000])[/COLOR];  
[COLOR=#0000ff]print[/COLOR] [COLOR=#ff0000]‘success=true’[/COLOR];  
?\>  
[/LEFT]  
[/FONT]

monty
