[PHP] Re: trying to send mail via localhost
I think the specs are in RFC 822. You should find if there. Satyam AndreaD [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] When trying to send mail via localhost I get the following error Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Any ideas?/ RH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: trying to send mail via localhost
I'm not expert, on this area, but unless I'm mistaken, that happens when the email address you are sending the mail to doesn't exist. For example if you try to send a mail to [EMAIL PROTECTED], when the actual address is [EMAIL PROTECTED], the username monk will not exist. Check your 'to' address. On 4/16/05, Satyam [EMAIL PROTECTED] wrote: I think the specs are in RFC 822. You should find if there. Satyam AndreaD [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] When trying to send mail via localhost I get the following error Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Any ideas?/ RH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: trying to send mail via localhost
Hi, Unless I'm mistaken, it's cause of bad SMTP address in your php.ini file, and so (if you haven't installed SMTP server on your PC), you have to set the SMTP line in your php.ini file to your internet provider's smtp address. For example, I'm on Windows and my internet provider's smtp address is mx.e-teliamtc.lv, so php.ini file looks like: [mail function] ; For Win32 only. SMTP = mx.e-telia.lv ; For Unix only. You may supply arguments as well (default: sendmail -t -i). ;sendmail_path = Sorry for my bad english, Lab -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php