Basic Sript Help

ok, since that works, try this
[php]
$headers = “Content-type: text/plain; $charset\r\n”;
$headers .= “From: Larche Chicago Ideabox <”.$email[2].">\r\n";
$headers .= “Reply-To: $email[2]\r\n”;
[/php]

That outputs “(unknown sender)” again…

All the examples i’m seeing have just two words in the from header, so try
[php]$headers = “Content-type: text/plain; $charset\r\n”;
$headers .= “From: Larche Chicago_Ideabox <”.$email[2].">\r\n";
$headers .= “Reply-To: $email[2]\r\n”;[/php]

Also, assuming you put a confirmation up on the screen, echo $headers after the mail function to see what was sent.

Got it! Turns out I didn’t have the $email properly configured.

Thanks for all the help!!

Sponsor our Newsletter | Privacy Policy | Terms of Service