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

vpartenie

Registered
Mar 5, 2021
2
0
1
Romania
cPanel Access Level
Website Owner
Hello,

I've recently bought webhosting from xServers.ro. They are offering webhosting with cPanel. That was my main request when looking to rent webhosting.

Unfortunately, after I installed one php site, I found that sending messages from my contact page to my designated email is not working!! No messages arrive into my email...
Thing that makes my contact page absolutely useless... I've contacted their customer support and they've told me to use a phpmailer if I want to send the page messages to my email....So instead of using a simple cPanel function they wan me to recode my pages to do the same thing but less secure!

I had the same site with a different webhosting provider, also with cPanel and I've never had this type of problem!

I want to ask, is it normal for a webhosting provider to offer me a cPanel service with missing functions?!


Here is a video of how simple the things should be: How to send email from live server/c panel using php.

Thanks!

Kind regards,

Valerian
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
4,836
597
273
cPanel Access Level
Root Administrator
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.
 

vpartenie

Registered
Mar 5, 2021
2
0
1
Romania
cPanel Access Level
Website Owner
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,