Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Mail function


Message #1 by "Nate LaClaire" <nate@m...> on Tue, 6 Mar 2001 15:38:50
Adam,

Thanks. This is embarrassing. I tried it again and it worked. I didn't make
any changes to it, and it didn't work when I tried it last night. I don't
get it. Programming can be so frustrating sometimes.

Here's my code:
	$mailHeaders = "From: $FirstName $LastName <$Email>\nReply-To:
$Email\nX-Mailer: PHP Mail Function";
	$Subject = htmlspecialchars($Subject);
	$Subject = stripslashes($Subject);
	$Message = stripslashes($Message);
	mail($mailFirstName." ".$mailLastName." <".$mailEmail.">", "$Subject",
$Message, $mailHeaders);

Thanks for your help!

Nate LaClaire

---------------------------------
Netwalker Internet Services
http://www.netwalkerinternet.com/
---------------------------------


  Return to Index