Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Emails not delivering after migrating sites

Discussion in 'E-mail Discussion' started by MelissaMae, Jul 31, 2018.

  1. MelissaMae

    MelissaMae Registered

    Joined:
    Jul 31, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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!
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,531
    Likes Received:
    1,965
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. MelissaMae

    MelissaMae Registered

    Joined:
    Jul 31, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Minnesota
    cPanel Access Level:
    Root Administrator
    Hi @cPanelMichael,

    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.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,531
    Likes Received:
    1,965
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. MelissaMae

    MelissaMae Registered

    Joined:
    Jul 31, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Minnesota
    cPanel Access Level:
    Root Administrator
    @cPanelMichael,

    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?
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,531
    Likes Received:
    1,965
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice