• nicocaldo

    (@nicocaldo)


    So,
    I moved my hosting from a server to another but I’ve kept the server mail on the old server.
    Before the migration, WordPress was able to send emails without issue.
    Now, it seems WordPress is not able to send emails.
    I would like to know how the php email function works on wordpress and how I can make WordPress send email, still using the old host

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    It sounds like your hosting provider has disabled PHP’s mail() function, which is used by WordPress to send you email notifications, and is also used by contact form plugins and more.

    This is a common safeguard employed by hosting providers when they suspect that another customer on the same server is sending spam emails directly from the server.

    Another alternative is that PHP’s mail() function is still active, but spammer activity from the server has already caused any email sent from it to be blacklisted. This would result in the emails being sent, but never received by any email address with basic anti-spam capabilities.

    You can check this by leaving a comment on your site and checking if you receive an email. Another alternative would be to use the Health Check plugin and sending yourself a test email from the plugin’s Tools tab to see if it works.

    If you didn’t receive a test email, you could try using an SMTP plugin to configure your WordPress site to use your email’s outgoing mail server instead of PHP’s mail() function.

    Thread Starter nicocaldo

    (@nicocaldo)

    My hosting has not blocked the php mail() function as it’s a VPS and, I’ve doublechecked with the support and they said me it’s on and working

    The health check, as well as the Mail Sending check, are able to send emails but, I can’t see it on the receiver end.

    My VPS provider has the chance to set up an SMTP server as default for the sending via the PHP function so, I’ve correctly set up railgun (server+DNS) but still, it send email but I can’t see at the receiver

    I think I’m missing something somewhere.

    I’ve also checked the spam filter online but my domain seems ok and not flagged as spam

    I have the same issue on site https://www.techietips.xyz/ !!

    I have using MailPoet widget on sidebar for newsletter subscription, but it’s not working due this issue!! Need help to fix this. You could understand the real issues if you visit check this in https://www.techietips.xyz/.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How wordpress send email?’ is closed to new replies.