Go Back   Zervex Forums > ServerCP Community > Q&A
User Name
Password
Register FAQ Members List Calendar Mark Forums Read
Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2007, 08:12 PM
bellsan bellsan is offline
Registered User
 
Join Date: Apr 2006
Posts: 2
bellsan is on a distinguished road
PHP mail function from Domain

I have a domain using a script to send a message to a forwarding email address which is not working. Here is the php mail command line:

$toaddr = "newclient@darshomvending.com";
$body = "A new client has requested your vending service. Please click this link to review your database for their information.\n\nOnce their information has been review, you must contact them for additional information.\n\nThank you,\n\n\n\nYour Web Administrator";
$headers = "From: DarShomVending\r\n";
mail($toaddr, "New Client Request", $body, $headers);

The email address should forward to the clients email address, but it does not. I did a test to have them forward the domain email address: newclient@darshomvending -> to my email address and nothing is being sent.
So I did a test and sent a message to directly to "newclient@darshomvending.com" and the message went thru with no problem.

Help! Client's forwarding is not working!

Bellsan
Reply With Quote
  #2  
Old 04-15-2007, 06:30 PM
Jeremy Jeremy is offline
Registered User
 
Join Date: Dec 2005
Location: LA
Posts: 306
Jeremy is on a distinguished road
Re: PHP mail function from Domain

Im not sure about the php script your running.

But check the mail logs when you click send.
__________________
http://kthxbyecrymore.com/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:00 PM.


Powered by vBulletin Version 3.5.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.