Re: [PHP-DB] Form mail() problem
I designed the site and did all coding, and uploaded from OS X. But the mac stops there, our work server is Windows, and the server hosting our sites is I think Windows. On 11/12/2007, at 3:34 AM, Dee Ayy wrote: Normally I'd say, "If it's been working fine for 3 months; then just stopped working; don't get angry at the PHP programmer; check with the network admin as to what changed." But it's interesting that your error came from an MS Windows machine, while you have links at the bottom from an Apple machine. Did someone move your working code from one machine to another? Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] in C:\Domains \logosunlimited.com.au \wwwroot\contact\processquote3.php on line 284 home | clothing | embroidery | wwwroot/printing/printing.html">printing | promotional | signage | contact -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Form mail() problem
Normally I'd say, "If it's been working fine for 3 months; then just stopped working; don't get angry at the PHP programmer; check with the network admin as to what changed." But it's interesting that your error came from an MS Windows machine, while you have links at the bottom from an Apple machine. Did someone move your working code from one machine to another? > Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 > Unable to relay for [EMAIL PROTECTED] in C:\Domains\logosunlimited.com.au > \wwwroot\contact\processquote3.php on line 284 > home | href="file:///Macintosh > HD/Users/DF/Sites/Logos Unlimited Website/Logos Root Folder/wwwroot/ > clothing/clothing.html">clothing | embroidery | printing | promotional | signage | contact -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Form mail() problem
On Dec 10, 2007 1:05 AM, Tim Daff <[EMAIL PROTECTED]> wrote: [snip!] > Here is the error code I am getting: > > Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 > Unable to relay for [EMAIL PROTECTED] in C:\Domains\logosunlimited.com.au > \wwwroot\contact\processquote3.php on line 284 [snip!] To me, this says that your code is probably still fine, but that the server on which the logosunlimited.com.au domain is hosted may not realize that the domain lu.com.au (presuming the `lu` stands for `logosunlimited`, and is another of your domain names) is a local domain, if it is. I'm not exactly certain how you'd handle that with Exchange (you're using Windows, so I ignorantly assume you're using Exchange), but in Linux, using Exim, Qmail, or a similar system, you'd need to modify /etc/localdomains. Either way, it looks like it's not a PHP issue, which might get you off the hook with your boss but have your server/network admin take a look at why lu.com.au isn't on the permissible relay list. -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Form mail() problem
Tim Daff wrote: I am just beginning with php, my first effort was a quote detail form that collects the user inputted data and makes and email out of it, which sends to my boss. It worked fine for about 3 months now all of a sudden it has stopped, and made my boss angry. Tell him to chill out ;) Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] in C:\Domains\logosunlimited.com.au\wwwroot\contact\processquote3.php on line 284 logosunlimited.com.au probably stopped their server from being an open-relay. You probably won't be able to send to an email address outside of their domain name without using smtp authentication. Check out phpmailer for a really easy way to do it. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] Form mail() problem
Hi, This is an SMTP error, not a PHP error. Since you imply the PHP code hasn't changed then something else must have changed. First verify that the to address, [EMAIL PROTECTED] is still good buy sending and e-mail to it. If that checks out OK, than check with the mail server administrator. He may have tightened the SPAM controls by requiring SMTP clients, like PHP, to authenticate before sending mail that relays. Or perhaps the authentication credentials in place may have changed. Also, some mail server will allow relaying based on IP address. If the mail server does that perhaps the IP address of the web server has changed. Either way, whatever authentication is used may need to be looked at and corrected. I can't think of anything else that might be the problem. Gary > -Original Message- > From: Tim Daff [mailto:[EMAIL PROTECTED] > Sent: Mon, December 10, 2007 1:05 AM > To: php-db@lists.php.net > Subject: [PHP-DB] Form mail() problem > > > I am just beginning with php, my first effort was a quote > detail form > that collects the user inputted data and makes and email out of it, > which sends to my boss. It worked fine for about 3 months > now all of > a sudden it has stopped, and made my boss angry. > > Any help I could get with this would be greatly appreciated. > > > Here is the error code I am getting: > > Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 > Unable to relay for [EMAIL PROTECTED] in > C:\Domains\logosunlimited.com.au > \wwwroot\contact\processquote3.php on line 284 > > Here is the .php code: > > >$name=$HTTP_POST_VARS['name']; >$email=$HTTP_POST_VARS['email']; >$phone=$HTTP_POST_VARS['phone']; >$catalog=$HTTP_POST_VARS['catalog']; >$notes=$HTTP_POST_VARS['notes']; >$code=$HTTP_POST_VARS['code']; >$qty=$HTTP_POST_VARS['qty']; >$company=$HTTP_POST_VARS['company']; >$postal=$HTTP_POST_VARS['postal']; >$screen=$HTTP_POST_VARS['screen']; >$customdetails=$HTTP_POST_VARS['customdetails']; >$embroidery=$HTTP_POST_VARS['embroidery']; > > // multiple recipients > $to .= '[EMAIL PROTECTED]'; > > // subject > $subject = 'Online Quote'; > > // message > $message = ' > > > > Logos Unlimited | Contact > >