Current time: 11-27-2024, 04:12 PM Hello There, Guest! (LoginRegister)


Post Reply 
PHP mail() doesn't send email
Author Message
cmendes0101 Offline
Junior Member
*

Posts: 16
Joined: Dec 2009
Reputation: 0
Post: #1
PHP mail() doesn't send email
Is there some setting that is not allowing email to be send with in PHP by a default installation of ISPCP?

Here is what is being ran:
$emailTo = "test@test.com"
$subject = 'General Inquiry';
$body = "Name: $name \n\nEmail: $email \n\nSubject: $subject \n\nPhone: $phone \n\nComments:\n $comments";
$headers = 'From: Website User <'.$emailTo.'>' . "\r\n" . 'Reply-To: ' . $email;

mail($emailTo, $subject, $body, $headers);

It runs with no errors but never gets received.
03-09-2010 04:11 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
PHP mail() doesn't send email - cmendes0101 - 03-09-2010 04:11 AM
RE: PHP mail() doesn't send email - nuke3d - 03-09-2010, 07:00 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)