Wordpress Contact Form7 + Gmail - SMTP issue

Hello

Since I joined cloudflare my Contactform7 plugin no longer can send to my Gmail, since Google requires SMTP.

Same if I directly email my email adress without contact form 7, I get the message to my Plesk inbox, and also the SMTP warning that the email could not be forwarded to GMAIL due to no SMTP.

Now I’m trying to avoid using WP SMTP to work around this.

Is there not a way to get this working with cloudflare tinkering only?

Thanks

Welcome to the Cloudflare Community. :logodrop:

Cloudflare offers no service that sends email. You will need to connect your Contact Form 7 to some mailserver. It could be the one running on your webserver if there is one, although I find transactional email services are always a much better solution.

Thanks for batman fast reply!

I guess then I will use WP SMTP with sendgrid. I just hoped there was some way I could bypass having cloudflare handle my email since it works fine wihout cloudflare before.

Thansk anyhow

What do you mean by this? Cloudflare shouldn’t be involved with your email, other than publishing your MX record in DNS.

Hello

I mean that even if set Proxy status to off, so that it is set to DNS only for mail and webmail, I cannot receive email to my Gmail account, since no SMTP. Before cloudflare, no issue as my Host/Plex account is SMTP. This is all so confusing.

Thomas

I hasten to add I have no clue what type A or MX mean.

I have for webmail
Type : A, Name: Webmail, then the IPV4 adress, then Prxy status DNS only.

Thanks, Thomas

An A record provides an IPv4 address that corresponds to a hostname. A hostname may have more than one A record.

Let’s ask DNS for the A record of the hostname one.one.one.one"

% dig a one.one.one.one. +short
1.1.1.1
1.0.0.1

We see that hostname has two A records, one for each IP that was returned.

An MX is used by sending mailservers to identify what receiving mailservers are configured to accept mail for a domain. Here are the servers that accept mail for gmail.com addresses.

dig mx gmail.com +short
5 gmail-smtp-in.l.google.com.
10 alt1.gmail-smtp-in.l.google.com.
20 alt2.gmail-smtp-in.l.google.com.
30 alt3.gmail-smtp-in.l.google.com.
40 alt4.gmail-smtp-in.l.google.com.

You mention that you cannot receive email to your Gmail account. Do you have any example error that you can share so we can see if there is anything you can adjust in Cloudflare that may help?

Hi!

Problem solved thomasthorstensson.photography can now receive emails to my gmail from contactform7. I needed to add an MX (Mail Exchange Record)

Talked a lot with my host and did some googling, thanks for chipping in

Thomas

1 Like

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