# Error Wordpress Contact Form 7 / Gmail / Hubspot

**URL:** <https://community.hubspot.com/t/error-wordpress-contact-form-7-gmail-hubspot/14523>\
**Category:** Sales Email\
**Created:** [May 26, 2019, 6:19pm UTC](https://community.hubspot.com/t/error-wordpress-contact-form-7-gmail-hubspot/14523 "2019-05-26T18:19:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![florian31](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/florian31/32/51304_2.png) [@florian31](https://community.hubspot.com/u/florian31)\
**Post date:** [May 26, 2019, 6:19pm UTC](https://community.hubspot.com/t/error-wordpress-contact-form-7-gmail-hubspot/14523/1 "2019-05-26T18:19:22Z")

</div>

Hi,

I have some specific problems with the combination of Hubspot, Gmail and Wordpress 🙂

I am not sure it is the right place to post this problem but I hope it is.

I use Contact Form 7 in my Wordpress for my contact forms. On each form settings, I have to set the “from” field. I want to recieve the email in my gmail from the client email so I can easily press “respond”, or integrate it in Hubspot. So in the “from” field I put “[email]”. But if I just put this, Contact From 7 shows an error : “Email address form the sender doesn’t belong to the domain website”. I have to put behind “[contact@mywebsitedomain.com](mailto:contact@mywebsitedomain.com)\>” so it can work.

Doing this creates a problem in Gmail. When I recieve an email from my website contact from in Gmail, the sender is “[myclientemail]@[hiswebsite].com [contact@mywebsitedomain.com](mailto:contact@mywebsitedomain.com)”. The fact that there is this 2 adresses creates problems in the mapping with Hupspot, since Hubspot gets only the second address.

Do you have a idea how to solve this :

- Use another contact from in Wordpress than Contact Form 7 ?

- Connect directly Contact Form 7 to Hubspot, excluding totally Gmail from the all process ?

- Other ideas ?

Thanks again for reading this all the way through I hope I was clear enough…

Florian

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [May 27, 2019, 1:00am UTC](https://community.hubspot.com/t/error-wordpress-contact-form-7-gmail-hubspot/14523/2 "2019-05-27T01:00:25Z")

</div>

Hi @florian31

The best way to overcome this is to use an SMTP WordPress Plugin so WordPress sends the email from your email address (usually it sends from Contact Form 7’s SMTP Server).

I recommend **WP Mail SMTP (** [https://wordpress.org/plugins/wp-mail-smtp/)](https://wordpress.org/plugins/wp-mail-smtp/) although I’ve never used it with Contact Form 7 (I prefer to use HubSpot Forms).

Does this work for you?

Mike

---

<div class="post-metadata">

**Author:** ![florian31](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/florian31/32/51304_2.png) [@florian31](https://community.hubspot.com/u/florian31)\
**Post date:** [May 27, 2019, 10:41am UTC](https://community.hubspot.com/t/error-wordpress-contact-form-7-gmail-hubspot/14523/3 "2019-05-27T10:41:37Z")

</div>

Hello [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259) ,

Thank you so much for you quick reply it worked perfectly ! My mail are now using Gmail SMTP server.

Regards,

Florian

---

<div class="post-metadata">

**Author:** ![miketoledo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miketoledo/32/60590_2.png) [@miketoledo](https://community.hubspot.com/u/miketoledo)\
**Post date:** [June 16, 2020, 1:09am UTC](https://community.hubspot.com/t/error-wordpress-contact-form-7-gmail-hubspot/14523/4 "2020-06-16T01:09:00Z")

</div>

Did you find a solution for this?

I’m having problems Hubspot mapping out “from” in converstions.

I detected that switching to smtp will improve deliverability of emails send from my site using my gmail account. But at the same time hubspot is getting the email as if it was sent from my very own email.

The WP SMTP plugin override the original “from” address input in the contact form 7.. Therefore all the inbound leads I’m getting through contact forms in my site are tied to a single conversation which is from my very own email address.

Any way to fix this?

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [June 17, 2020, 2:12am UTC](https://community.hubspot.com/t/error-wordpress-contact-form-7-gmail-hubspot/14523/5 "2020-06-17T02:12:50Z")

</div>

Hi @miketoledo

Can you replace the Contact Form 7 Form with a HubSpot Form?

You’ll find it easier to handle in HubSpot.

Mike

---

<div class="post-metadata">

**Author:** ![RaulV](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@RaulV](https://community.hubspot.com/u/RaulV)\
**Post date:** [January 2, 2022, 7:42pm UTC](https://community.hubspot.com/t/error-wordpress-contact-form-7-gmail-hubspot/14523/6 "2022-01-02T19:42:59Z")

</div>

So there is no way to do it if you want to continue working with CF7?
