By Fanh on
When I signed up, there is this error message:
warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for fanh1994199@gmail.com in C:\Apache2.2\htdocs\drupal-5.5\includes\common.inc on line 1986.
How do I fix it?
Comments
...
Here are some points to check,
- The SMTP server you're using in your php.ini, is it of gmail? or of your ISP?
- Did you provide your gmail's username/password in php.ini?
- Perhaps there's a switch in gmail's configuration to turn on SMTP access for your account (perhaps this switch is the POP3 access).
mooffie, how to add password to php.ini?
I was curious as I don't have anything referring to password in my config file. Just this:
[mail function]
; For Win32 only.
SMTP = email.domain.org
;SMTP = exchange-do
smtp_port = 25
; For Win32 only.
sendmail_from = webmaster@domain.org
If this is on a test server,
If this is on a test server, or on your own computer (localhost), then it is probably because you don't have an SMTP server set up to send e-mails. That's not a problem at all, and won't impact anything when you transfer everything to the production server.
If this is on a production server, then you need to get with your tech support people to find out why the SMTP server is not active.
- Corey