Email not sent to new users
Submitted by drupalgene on Fri, 01/15/2010 - 06:58
Tried to Create New User as directed on pages 61-63 of the book. Entered a valid email address. Email was not received at that address after several hours. Is there a setting in Drupal for the outgoing email that has to be set up first? I did not find this in the book.
-Gene

Drupal for Dummies
The first possibility that
The first possibility that comes to mind is that your Web server can't send out emails. That's not something you can fix in Drupal. So, to start figuring this out, can you give me some information about your Web server? Are you testing a site on your local computer? If not, who is your hosting company?
Email not sent
Yes, I am testing a site on my local computer.
Where do I set the email server information? In Drupal? Apache?
-Gene
Ah, this isn't a Drupal
Ah, this isn't a Drupal problem, it's a PHP issue. Realize that once your Drupal site is on a live web server, it will work. But for now...
Your local computer won't be able to send email by default. Every time Drupal tries to send out an email, it calls a PHP function, mail(). This function tries to send email out using a server.
You can change the server information in the php.ini file. You need to know the name of a server that will allow you to send mail through it.
Check out the conversation here:
http://drupal.org/node/261008#comment-1212236
Thanks
Hi Lynn,
Thanks for explaining the mail behavior of Drupal on a local server. I won't mess with the php.ini file for now but will continue with learning Drupal using my local computer. Will tackle this if it becomes an issue when I try to install Drupal on my web hosting service.
I'm really enjoying your book. Fills a need for people like myself who don't have the time or experience to start from coding html and php.
-Gene
Let me also add that if you
Let me also add that if you don't want to muck around with the php.ini file, check out this module:
http://drupal.org/project/smtp
You still need to know the address of a mail server, but you can configure things through the Drupal interface.