I tried also Postman SMTP but without any change.
Check the Postman log in Tools > Email Log
The reason your contact form 7 fail is failing will be right there.
Thread Starter
labihi
(@labihi)
I check the log and I found the message below in the status :
Invalid Message From e-mail address “lbien lbien@gmail.com”
Thread Starter
labihi
(@labihi)
Here is the content of the log file :
From: lbien lbien@gmail.com
To: info@yandataellan.com
Reply-To: lbien@gmail.com
Date: 2015-10-31 19:46:51
Subject: Test de contact
Delivery-URI: smtp:ssl:login://a2plcpnl0393.prod.iad2.secureserver.net:465
From: lbien <lbien@gmail.com>
Subject: Test de contact
Message Body:
Test
—
lbien
Invalid Message From e-mail address "lbien lbien@gmail.com"
Just like it says, this is not a valid email address.
It should be (note the angle brackets):
lbien <lbien@gmail.com>
You have two options:
- Update the CF7 contact form From field in the Mail tab or
- Flip the switch in Postman > Advanced Settings > Message > Message From > Email Address > Prevent plugins and themes from changing this
Unrelated question
a2plcpnl0393.prod.iad2.secureserver.net
Where on earth did you get this hostname?
Thread Starter
labihi
(@labihi)
I add the angle brackets in “From text box” in CF7 like that :
[your-name] <[your-email]>
So the message error disappeared and I got :
Your message was sent successfully. Thanks.
But I didn’t receive the email !!!
Thread Starter
labihi
(@labihi)
I tried the 2 options above but the same result, I got that the message was sent and when I checked I didn’t found anything !!
Thread Starter
labihi
(@labihi)
Hi,
I like to tell you that the problem was resolved.
I post this comment for every person that could have the same issue. So what I did, as I mentionned above, I added the angle brackets in “From text box” in CF7 like that :
[your-name] <[your-email]>
And the message error wasn’t shown.
LB
goDaddy 🙂 why ?
Yes but where? Tech support? Normal GoDaddy servers are localhost and relay-hosting.secureserver.net .
But I didn’t receive the email !!!
This is a different problem than your original post. And the reason is you are trying to send Gmail through GoDaddy’s SMTP server. As per the gmail.com SPF record, GoDaddy is NOT an approved sender for Gmail. So your email is rejected once it is received at Gmail.
$ dig txt gmail.com
gmail.com. 299 IN TXT "v=spf1 redirect=_spf.google.com"
If you had used the Postman Setup Wizard, it would have prompted you to use the Gmail API to send your Gmail from GoDaddy. But you put in your own, incorrect settings.
Another option, if you have access to GoDaddy’s cPanel, is to enable Remote Mail Exchanger.