Results 1 to 4 of 4

Thread: Can't send email - your host may have disabled the mail() function

  1. #1
    coachb is offline New Bee
    Join Date
    Aug 2014
    Posts
    1
    Servers
    server24
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can't send email - your host may have disabled the mail() function

    Migrated a WordPress site here and we do not get anything from our contact form which worked fine on our other host. Tried the 'lost password' link from the WP login screen and got this error: "The e-mail could not be sent.
    Possible reason: your host may have disabled the mail() function"

    How do we correct this?

  2. #2
    inna.b's Avatar
    inna.b is offline WeeHBie
    Join Date
    Jul 2012
    Posts
    2
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello,

    Thanks for contacting us.

    We were forced to implement some changes on our shared and reseller servers due to the recent increase of spam originating from compromised outdated CMS installations, from which mass spam is sent, resulting in blacklisting of the server's IP addresses in RBLs. To avoid these problems, you should reconfigure your contact form to perform a proper SMTP authentication, and sent emails from a valid email address that exists under your account.

    To cut the long story short:
    In order for a script to send mail successfully, the following requirements must be met:
    - a valid email address, which exists on the server (i.e. in cPanel >> Email Accounts) must be used in the script's From field;
    - proper SMTP authentication must be used by the script, using the aforementioned email account's login credentials for authenticating;
    - domain must be using our server for its mail and the script must localhost as the mail server.

    We hope you find this information helpful.
    Billing Team
    WebHostingBuzz.com

    Help WebHostingBuzz today. Like us on Facebook, follow us on Twitter or Google +1 us.
    Visit www.webhostingbuzz.com and look for the social media icons at the top of the page

  3. #3
    rooster is offline New Bee
    Join Date
    Aug 2015
    Posts
    1
    Servers
    ukss8.abstractdns.com
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi There,

    Any chance you can please qualify the meaning of this line please?

    Quote Originally Posted by inna.b View Post
    - domain must be using our server for its mail and the script must localhost as the mail server.
    Are you referring to the domain of the recipient (RCPT TO) or of the sender? eg Can one only have a form on a site send mail TO an account hosted on the server?

    Thanks

  4. #4
    skyhost92 is offline Banned
    Join Date
    Aug 2016
    Location
    Lahore Pakistan
    Posts
    70
    WHB Points this Month
    0.00
    WHB Points
    25.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    If you are looking for best web hosting and excellent support for your website then we are the best option for you. We provide 24/7 support to our clients. Our support team is dedicated for providing best support services to feel our clients in safe hands. If you are looking for web hosting in Lahore, then there are bundle of excellent packages at lowest costs. Just try us once.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •