• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

wordpress mail problem

Hi Experts,

When I try to reset the password in my wordpress site I get this message.  Any ideas how to fix this?
The e-mail could not be sent.
 Possible reason: your host may have disabled the mail() function...

Thanks,

HNM
0
HelpNearMe
Asked:
HelpNearMe
  • 4
  • 3
1 Solution
 
LZ1Commented:
Depending who your hosting with, it sounds like you need to modify your php.ini file.

First, let's check to see if the mail function is enabled. Copy this code:
 
<?php

// Show all information, defaults to INFO_ALL
//phpinfo();
if ( function_exists( 'mail' ) )
{
    echo 'mail() is available';
}
else
{
    echo 'mail() has been disabled';
}  

?>

Open in new window


Save it as a phpInfo.php in the root of your site. Upload it to your server then view it in a web browser.
Post the results back here.
0
 
HelpNearMeAuthor Commented:
This script returns "mail() is available"  thanks for your help... whats next?

HNM
0
 
LZ1Commented:
Is this a default WP install? Or is it modified in any way? Who are you hosting through?
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
HelpNearMeAuthor Commented:
it's innohosting.com and it's a reseller account with a number of accounts inside each with individual cPanel instances.

hnm
0
 
LZ1Commented:
First to rule out anything with the hosting company, I would call them. I would ask if there's anything in particular restricting email from WP.  After that, we can go deeper.
0
 
HelpNearMeAuthor Commented:
I'll get back to you later today about this... thanks for waiting
0
 
HelpNearMeAuthor Commented:
Ok, working on it with the host now.  If the problem persists I may post a new question

Thanks
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now