Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 651 Vote(s) - 3.49 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Unable to send e-mail. Please contact the site administrator"

#1
I get the following error message in admin/user/user:

> Unable to send e-mail. Please contact the site administrator if the problem persists.

Is this error caused by the fact I haven't an email service installed on my server?
thanks

**Update**: I now get the following error.

> Error sending e-mail (from "Website Name" <[email protected]> to [email protected]). Attempt to e-mail [email protected] concerning order 114 failed.

Reply

#2
Yes, if you don't have sendmail or any other means by which PHP can send emails, you will see this error.
Reply

#3
This error is due the fact that your mail service is not configured. Drupal, by default, trying to send the user some email and after it fail, it show this message.

If you Drupal is running on Ubuntu it is quite easy to install the mail service:

<pre>
sudo apt-get install php-pear
sudo pear install mail
sudo pear install Net_SMTP
sudo pear install Auth_SASL
sudo pear install mail_mime
sudo apt-get install postfix
</pre>

And that's it!
Reply

#4
Even after installing postfix, you still might not be able to send mail with Drupal. Even if you can send mail from command line and a console php script, your attempt to send from Drupal (or any other apache web app) might fail. I'm using postfix on CentOS 6.x. I found that my CentOS VM by default was set to prevent httpd from sending mail. The problem was that my system had `httpd_can_sendmail = Off` in sebool values.

The solution was described at

[To see links please register here]


$ /usr/sbin/getsebool httpd_can_sendmail

Confirm that httpd_can_sendmail --> off

Problem was solved by:

$ setsebool httpd_can_sendmail 1

Or permamently set it with:

$ setsebool -P httpd_can_sendmail 1

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through