Can't get my php forms to mail to emails not located on my server. What would be there reason for this? Some of the failed messages say that the user 'nobody" can't send emails. Is it dangerous to allow user 'nobody' to email? I figure it is. Here is my php code..
I gathered one email that said this...Code://$contact is name of person filling out form //$em is email address of person filling out form $to = "\"$contact\"<$em>"; $headers = "From: \"MYDOMAIN.com\"<myemail@charter.net>"; if (!$em==""){ mail( "myemail@yahoo.com", "$subject", "$message", "$headers"); mail( "\"Rick\"<myyahooaddress@yahoo.com>,\"Webmaster\"<chris@mydomain.net>", "$subject", "$info", "From: \"$contact\"<$em>");
I just want to be able to mail a form to myemail@charter.net or myemail@yahoo.com off the server. Can anyone give me some pointers?Code:This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: myyahooaddress@yahoo.com Mail sent by user nobody being discarded due to sender restrictions in WHM->Tweak Settings ------ This is a copy of the message, including all the headers. ------ Return-path: <nobody@server1.myserver.com> Received: from nobody by server1.myserver.com with local (Exim 4.63) (envelope-from <nobody@server1.myserver.com>) id 1IYW7f-0000Ml-BF; Thu, 20 Sep 2007 19:11:55 -0500 To: myyahooaddress@yahoo.com Subject: Wholesale Sign Builders Application From:myemail@charter.net To:info@myemail.com MIME-Version: 1.0 Content-Type: multipart/mixed; Message-Id: <E1IYW7f-0000Ml-BF@server1.myserver.com> Sender: Nobody <nobody@server1.myserver.com> Date: Thu, 20 Sep 2007 19:11:55 -0500



LinkBack URL
About LinkBacks
Reply With Quote





