Skip to main content

CPanel function to send email from a php page blocked by the webhosting provider

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! We don't control what the individual hosting providers do with their systems, but they are able to customize and restrict things both on the server level and in the interface if they feel that is necessary. You may want to contact some other hosts to see if they are also restricting that, but that isn't normal behavior. In general, I would recommend using code that authenticates to the local mail server before sending the message to help ensure that your messages get delivered and don't get marked as spam.
    0
  • vpartenie
    Hi, Thanks for your answer! Indeed, I've just received a similar answer from their part : " Regarding the reasons for which this security policy is applied, we can specify the following: - Limits the possibility of sending SPAM messages from our network by possibly compromising a site or by security breaches at the level of sites that would allow direct sending of unsolicited messages. - Sending with SMTP authentication is already a mandatory requirement of all major e-mail service providers (Gmail, Yahoo, Hotmail, etc ..) - It will protect both the reputation of the IP address (which belongs to us) and your domain" So, that's the best way apparently. Kindest regards,
    0
  • cPRex Jurassic Moderator
    I'm glad they responded to you so quickly!
    0

Please sign in to leave a comment.