Skip to main content

Emails not delivering after migrating sites

Comments

5 comments

  • cPanelMichael
    Hello @MelissaMae, Do you have root access to the new server? If so, check to see if the following option is enabled in Web Host Manager: WHM Home " Security Center " SMTP Restrictions When enabled, it will allow only the MTA, mailman, and root to connect to remote SMTP servers. It's documented at: SMTP Restrictions - Version 74 Documentation - cPanel Documentation Thank you.
    0
  • MelissaMae
    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.
    0
  • 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.

    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.
    0
  • MelissaMae
    @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?
    0
  • 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?

    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:
    0

Please sign in to leave a comment.