# Trouble with flash/php tutorial +Yahoo server

**URL:** https://forum.kirupa.com/t/trouble-with-flash-php-tutorial-yahoo-server/279030
**Category:** Uncategorized
**Created:** [January 8, 2009, 6:29pm UTC](https://forum.kirupa.com/t/trouble-with-flash-php-tutorial-yahoo-server/279030 "2009-01-08T18:29:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![webbed](https://avatars.discourse-cdn.com/v4/letter/w/bcef8e/32.png) [@webbed](https://forum.kirupa.com/u/webbed)
#### Post date: [January 8, 2009, 6:29pm UTC](https://forum.kirupa.com/t/trouble-with-flash-php-tutorial-yahoo-server/279030/1 "2009-01-08T18:29:52Z")

</div>

Yahoo’s (small business) servers and they say they need a sendmail path indicated in the php file. I’m a super noob- would some one please help me figure out where in the heck that would go in the file? Here is the code I’m using

$sendTo = "blahblah@blah.com";  
$subject = “the reply”;

$headers = “From: " . $\_POST[“firstName”] .” “. $\_POST[“lastname”] . “\<” . $\_POST[“email”] .”\>  
";

$headers .= "Reply-To: " . $\_POST[“email”] . "  
";

$headers .= "Return-path: " . $\_POST[“email”];

$message = $\_POST[“message”];

mail($sendTo, $subject, $message, $headers);

THANKS!
