I am running drupal-6.19 on a Slackware 13.1/64-current with a 2.6.35.6 kernel. I installed two sites (each with own copy of drupal NOT a shared core). When I finished the install for each I went to Administrator -> User Management -> User Settings and unchecked Require an e-mail verification when a user creates an account. Then started installing a few modules (token, pathauto, path_alias_xt). Changed time format in drupal under Date and Time and checked File Systems and changed to Private and then created two addition roles (admins and moderators). I did this on both sites then logged out with admin account and went to create a normal user account and I got "Unable to send e-mail Please contact the site administrator if problem persists" right under the error it says "Registration successful you are logged in" What email it trying to send when it was unchecked after the install? How do I fix this? I thought of it being a conflicting module and went and disabled every module that I added and any other change I had to make (like for PECL runkit) and restarted webserver (apache 2.2.16). The web server error_log says this:
[Fri Oct 22 07:02:15 2010] [notice] Apache/2.2.16 (Unix) DAV/2 PHP/5.2.14 configured -- resuming normal operations
sh: /usr/sbin/sendmail: No such file or directory
sh: /usr/sbin/sendmail: No such file or directory
as far as I knew sendmail was installed, but it shouldn't matter it shouldn't be sending mail anyway.
Comments
Fixed installed sendmail and
Fixed installed sendmail and I no longer get the "Unable to send e-mail Please contact the site administrator if problem persists" error, I should have waited until after I installed the packages to post.
.
Had this error twice myself. Looking it up online revealed that it's the result of incorrect or missing SMTP settings.
I'm no sysadmin myself, so can't say what settings exactly (I just took it up with support of that host, who, conveniently said they didn't do anything to break it, but it all magically worked again when they replied). Phpinfo() shows default settings (SMTP: localhost, smtp_port: 25) on two servers where mails work with no problem. That's pretty much all the server-side info I can give you on this.
Hey my friend I'm having the
Hey my friend I'm having the same trouble maybe slightly different but, what did you do to fix this issue. You have described what is basically holding me back check it out:
I understand that drupal isn’t a mail server but when I attempt to “Create a New Account” as an Anonymous User the password and further instructions email, isn’t sent but instead shows the following message:
“
warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\drupal\includes\mail.inc on line 193.
Unable to send e-mail. Please contact the site administrator if the problem persists.
“
How would I diagnosed this within my drupal settings or would I start from somewhere else. No answer is too simple for me but I just don’t understand. I have even checked within the Great Drupal community for the answer and got what in the following link with regards to my question but, I still just don’t understand. If the previous message has anything to do with the actual solution where would I begin? Where are the settings for this message?
Regards,
Admin E