I installed drupal-4.4.2 in XP machine today. I have php and mysql with Apache running. I managed to launch drupal and create a new user account through interface. The new user accont is recorded in the drupal database. However, I never got any email. I installed phpmailer to fix this problem as someone suggested in this forum. That got rid of couple of smtp erros but it still doesn't send username and password to the regitered email address. I ran out of options that I knew. Can anybody help me please?

Thanks,

Comments

Steven’s picture

You should edit your php.ini and supply an SMTP server. This is required for PHP on windows.

bbhattarai’s picture

Could you please explain it in bit more detail? What should I change in php.ini?

Thank you for the help.

Steven’s picture

and find the following lines or similar:

[mail function]
; For Win32 only.
SMTP = .... ; for Win32 only

; For Win32 only.
sendmail_from = .... ; for Win32 only

Fill in your outgoing mail server and an email address.

bbhattarai’s picture

I tried that with localhost and me@localhost.com. I also tried my ISP's SMTP and email address. None worked. I tested my php mail and I got this error.

SMTP server response: 550 5.7.1 Unable to relay

How would I fix it? Sorry, it's a bit out of scope question.

Thank you.

arbozarth’s picture

New installation (Windows XP Pro, Drupal 4.6.3, Apache 1.4.2)

Changed c:\windows\php.ini
[mail function]
SMTP = smtp.mail.yahoo.com
sendmail_from = @yahoo.com

The error message:
SMTP server response: 530 authentication required

My email provider (yahoo) apparently uses authentication with my email client. How do you provide authentication with Drupal?

thanks,
Randy

lotherius’s picture

Apparently drupal considers users who have to authenticate to send mail as second class citizens, just like the majority of other software out there.

I followed the directions here: http://drupal.org/node/29888 and still cannot send mail.

Now, instead of simply failing to send mail and logging an error, it just goes to a blank page, still fails to send the mail, and logs no error.

Please make authenticated remote SMTP support part of the standard package!!!

(EDIT)
Since other methods failed, I used the method described here: http://drupal.org/node/7294 and was able to successfully have Drupal send mail with my authenticated yahoo/sbcglobal server.