Hello,

I recently installed Drupal 4.7.3. I thought it was all up and running, but it seems I'm wrong.

I followed the steps detailed in the Installation manual at the Handbooks section; everything seemed to work just fine, but when I create a new user, no email with the password is sent to the user. However, I don't get any error messages; on the contrary, it says that an email with the password has been sent to me, but that email is never sent.

I went to the php.ini config file, uncommented the SMTP variable, and included there my SMTP server. but it still doesn't work.

Is there anything else I should install? Like another module or something? I've read there is a SMTP module. Is it necessary to install such module in order for the email facility to work?

Please, give me a hand here, since I'm at a loss.

Thank you very much in advance. :)

Comments

eyedol’s picture

Are you sure is not for the server you're hosting drupal on.

Jose C.’s picture

I don't really know. How could I find out? I've never worked with SMTPs before...

The last line in the /var/etc/mail file reads the following:

Sep 13 15:11:09 lace postfix/smtp[16885]: connect to mx4.hotmail.com[65.54.245.104]: Connection timed out (port 25).

Does that give me any hint?

EDIT: I just found out I can't telnet my SMTP server:
telnet: connect to address 150.214.76.6: Connection refused

Could that be the problem? If so, how could I fix it?

Jose C.’s picture

I just realized I can telnet my smtp server to port 25. It seems to work just fine, why?

I'm still looking for a solution. Please, some ideas would be appreciated. Thanks in advance.

Abilnet’s picture

Is there anything else I should install? Like another module or something? I've read there is a SMTP module. Is it necessary to install such module in order for the email facility to work?

Everything should work out of the box without installing any contributed modules - IF - the server side is sending email normally. I had a similar problem with a CPanel server which had some security settings turned on (can't remember what) ...however, just installing and configuring the SMTP -module did the trick perfectly.

http://drupal.org/project/smtp

Hope this helps

Jose C.’s picture

Wow, it did help! It all works now.

I just did what you said:

- Downloaded the SMTP module from the site you pointed me to.
- Realized I didn't have the PHPMailer class, so I had to download and install it (it didn't take more than 5 minutes).
- Then installed the SMTP module by just moving the file to the modules directory.
- Logged in as admin, enabled the SMTP modules, and configured its settings.
- Sent a test email, and worked just fine.
- The resent a password to the previously new created user, and it sent the email!!

Abilnet, thank you so much for your help. :)

Abilnet’s picture

You're wellcome, great to hear you got everything to work!