Emails not delivering after migrating sites

MelissaMae

Registered
Jul 31, 2018
3
0
1
Minnesota
cPanel Access Level
Root Administrator
I've recently migrated a number of my client's sites from our GoDaddy hosting to Siteground hosting. When we were on GoDaddy all emails would send without issue because they use PHP to send them. However, now that we are on Siteground, none of the emails are sending with PHP. The only solution that Siteground has given us is to install a plugin to switch all of our sites to SMTP. This is not the most realistic solution for us because we have 100 sites that we would need to go into individually and do this.

Is there anyway to temporarily switch back to PHP for emails to send? Or are there any settings within Siteground that can fix the issue of emails not sending? If it is at all possible to avoid using this plugin, that would be the ideal situation.

Let me know if you need any additional information to help.

Thank you advance!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
When I go to WHM Home > Security Center, the only options I have are 'Manage External Authentications' and 'Two-Factor Authentication'. I don't see the SMTP Restrictions.
This suggests you only have reseller access. Your hosting provider will need to assist you further if you are a reseller and do not have full root access to the server. If they have stated that the ability to send email through the PHP mail function is disabled, then you'd have to update your scripts to send out via SMTP. There's no way around that if you do not have root access to the server.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Okay, thank you for letting me know! How would I go about updating the scripts to send out via SMTP? Is the only way through the plugin they have referred me to?
Hello,

The method will vary with each individual script that's installed on a website. For instance, if all of your websites use WordPress, then installing a WordPress plugin (like the one your hosting provider suggested) on each installation is likely the best approach. As far as a standalone script for websites that use simple forms, here's an example from StackOverflow:

Need SMTP authentication in my PHP form?

Thank you.