Just installed drupal 6 on my debian server and I have noted that when a new user creates an account no email is sent to the user even though it is configured to do so.

I have obviously missed something but can't find what.

Regards

Fred

Comments

marquardt’s picture

Are you sure your machine can send emails? You could check /var/log/mail.log and /var/log/mail.err which should log all mails sent (and received) and any errors, respectively.

derfz’s picture

The same server hosts many e107 & Zencart (virtual host) sites all of which can send emails. I have decided to look at drupal again after some years. e107 has as part if its configuration the ability to configure how email is sent (php/sendmail/smtp, we use smtp), something I can't find in drupal.

I do have full control over the server.

Any thoughts would be most helpful

Regards

Fred

marquardt’s picture

As far as I know Drupal sends mail through PHP's mail() function; that in turn can be configured in the php.ini file (search for "[mail function]"; it seems to use sendmail on Unix by default). There are the SMTP Authentication Support and PHPMailer modules, both claiming that they can send email to an SMTP server; but I have never used them.

Hop this helps.

derfz’s picture

Thank you for the very constructive comments.

PHPMailer worked for me in the end.

Regards

Fred