Support » Plugin: WP Mail SMTP by WPForms » Cloudflare settings

  • Resolved acehobojoe


    Hello! I just wanted to make sure I have my cloudflare settings correct. The plugin is not currently working.

    It worked great before cloudflare. So in cloudflare I have an MX record that has the root name as the name and is pointing to a mail server. There is also an A record that points the cname to the site’s regular IP address.

    In the SMTP plugin I’ve set the smtp host to and have the same ssl port and username as before.

    It’s not sending any test emails and PHP email is working fine. What do you think I’ve done wrong?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Sanjeev Aryal


    Hi @acehobojoe,

    When you get a chance, could you please try sending a test email (under WPMailSMTP > Email Test) and share the details from that here?

    This will help us to get a better idea of what might be going on.


    Thread Starter acehobojoe



    Here are the details :

    I get a Cloudflare 504 time out.

    then if I change it to it says :
    Could not connect to the SMTP host.

    Brad Brown


    I use Cloudflare without issue.

    If you’re getting a Cloudflare error, I may know what the problem is, or at least something to check. Do you have your mailer A record proxied through Cloudflare? (That is is it an orange cloud rather than a gray one?)

    Cloudflare won’t accept SMTP traffic, so if you try to proxy it, it will fail.

    Plugin Support Sanjeev Aryal


    Hi @bradbrownmagic, Thanks for stepping in.

    @acehobojoe – When you get a chance, could you please check that. Sometimes, when the SMTP was configured incorrectly, the connection between site server and SMTP server becomes slow resulting in timeouts.

    I hope that helps!

    Plugin Support Sanjeev Aryal


    Hi @acehobojoe – We haven’t heard from you in about a week, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cloudflare settings’ is closed to new replies.