mail() has been disabled for security reasons
pilotos - September 30, 2006 - 15:11
| Project: | User experience |
| Component: | other |
| Category: | bug report |
| Priority: | normal |
| Assigned: | pilotos |
| Status: | closed |
Jump to:
Description
Drupal can't send e-mails,like passwords(after registration)
Here is the error message:
mail() has been disabled for security reasons in /home3/cfadmin/public_html/modules/user.module on line 430.
What can i do to fix it?

#1
the same here.
how do i know if it's a server setting or a drupal setting?
#2
i've just tried this:
<?php$message = "Line 1\nLine 2\nLine 3";
$rc = mail('HERE-I-PUT-MY-EMAIL-ADDRESS', 'Test Subject', $message);
if ($rc) {
print "Mail successfully sent!<br>";
}
else {
print "Failed to send mail<br>";
}
?>
and the result was "Failed to send mail"
#3
using a form made by webform module plus the smtp module i am able to send emails. i had enabled smtp module but contact module was not working anyway.
#4
Responding to the original report by pilotos, it looks more like a server issue. Please check your PHP server settings or contact your web hosting.
ps, assigning to yourself means that you will try to find a fix, which i presume not?
#5
It's been a bit on this issue with no feedback from the original poster. I'm marking as closed for now.