I've got Drupal 4.6.5 running on a hosted site and configured through Cpanel. Most things seem fine, but when I attempt to create new user accounts (as if I were some one else, registering as an authenticated user), none of the registration emails gets delivered to any of the mail accounts I point them at. I enter a username and email, which is followed by the "Your password and further instructions have been sent to your e-mail address." But no mail ever arrives.

In short, there's an email problem. Where do I start? I've tried searching the forums on Mail, "New Users" et cetera, but haven't seen anything that seems pertinent.

The cpanel mail client isn't getting any messages, nor any bounced messages, so I am inclined to think it's something about the Drupal setup. Is there an email function that needs to be enabled or configured before Drupal will send messages?

Comments

sepeck’s picture

Drupal uses the smtp server that is configured in the php.ini. So you need to make sure that your are allowed to relay through that. Next, you need to make sure you put in a valid email address in admin settings

-sp
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

nunovo’s picture

That sounds like I need to contact a site admin. The hosted service doesn't look like it provides any access to php.ini - and that's in line with what I'd expect if php is running somewhere other than the directories I have access to.

So is there likely to be an alternate route - via some sort of Cpanel function maybe?

As for the valid email address in settings, I've tried several addresses, none of which have recieved messages. Perhaps there's a bottleneck if it's being routed through the account given me by the service host.

sepeck’s picture

It is likely that your host already has or allows this. I would check this first.

-sp
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

nunovo’s picture

Haven't heard back from host yet, but solved the problem - at least for now, with the smtp.module.

I can now register users on my site, which is a big step forward!

---
new and green, but learning, that's me!

aventurer’s picture

I am new to drupal and am having the same problem. Can you provide more details on what you did to get the registration emails working?

Thanks.