Send mail question...
Posted: Sun Oct 20, 2002 10:50 am
I have a simple mail statement:
It works fine as long as the email is sent to an address other than one @designedimages.com - my client's server (right now I am receiving the email to my server, Unix, and forwarding the messages to my client's email address on a Windows NT server).
Obviously the send mail works, but won't send to their local address. Since it is a local address do I just specify the email address as "jim" only???
Any help is appreciated.
Thanks - Steve
Code: Select all
$toaddress = "jim@designedimages.com";
$subject = "Quote/Comment request from $from_name";
$mailcontent = "Customer Name: ".$from_name."\n"
."Customer Email: ".$from_email."\n"
."Customer Comments: \n".$message."\n";
$fromaddress = "From: ".$from_email."\n";
mail($toaddress, $subject, $mailcontent, $fromaddress);Obviously the send mail works, but won't send to their local address. Since it is a local address do I just specify the email address as "jim" only???
Any help is appreciated.
Thanks - Steve