Can't send email from Wordpress Contact Form after migrating to Cloudflare

After moving to Cloudflare I can’t send mails from my Wordpress contact form to my own email.
It seems that I have set the right DNS.

I get this error from WP mail SMTP:

**Heads up!** The last email your site attempted to send was unsuccessful.

> Email Source: Elementor Pro
Mailer: Default (none) PHPMailer was able to connect to SMTP server but failed while trying to send an email.

Welcome to the Cloudflare Community. :logodrop:

If the SMTP server that you have configured is in your domain, it is very likely that you have proxied that hostname. The Cloudflare proxy only passes HTTP and HTTPS traffic by default. This means that hostnames that are used with other protocols, such as SMTP, must not be :orange: proxied. Set them instead to :grey: DNS Only.

If you need more specific guidance, please share your domain name and the hostname you are using to relay mail along with its proxy status (:orange: or :grey:).

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.