mail function help
| From: | CrossWalkCentral | Date: | Fri, 05 Apr 2002 04:37:11 +0000 |
| Subject: | mail function help | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-18226@lists.php.net to get a copy of this message | ||
For some reason the mail command will not work on all systems mybe I am
using it wrong can some one provide some feedback on this.
here is a code snip.
$msg = "\tFirst Name: $custfname\n
\tLast Name: $custlname\n
\tEmail Address: $custemail\n
\tCategory: $dservice\n
\tDescription: $custpdes\n";
$recipient = "$custcatergory";
$subject = "$adminsubsupport";
$mailheaders = "From: $adminfrmsupport <> \n";
$mailheaders .= "Reply-To: $email\n\n";
mail($recipient, $subject, $msg, $mailheaders);