• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Bootstrap CSS contact form not getting emails from certain emails

LKinneyX23

Active Coder
I use a bootstrap form I got some years ago on a number of sites. Recently, it seems if the person sending the message uses gmail...it does not get received.
The receiver can use gmail without a problem.

Example1
Example2

I have tried a range of different emails in the receiver, using my domain emails and gmail accounts and then tested sending emails using the contact form from real and fake addresses. I will receive all the emails except the ones from a gmail account (real or fake).

I don't understand how the sender's email can be the issue.

This SEEMS to be something related to Dreamhost, as I also use the form on this site without the issue happening on the other two, which are hosted on Dreamhost.

I would appreciate any help!
 
The PHP?

Again, this has nothing to do with sending. It's that neither of these contact forms are RECEIVING emails from gmail accounts. I only have the issue on the two sites above hosted by Dreamhost. Another site with the exact same contact form doesn't have this issue on GoDaddy.
Do you have email logs?
 
Which is why I gave their reply in an earlier post:

"...because of recent changes made to the industry regarding email policies. DreamHost and other providers now require authorization in order to send mail over the server. This may require alteration of the scripts to have complaint information. You can review the new requirements here."

In some cases Google requires API integration on top of the SMTP authorization. I cannot Further information on this can be found here."
 
Last edited:
Which is why I gave their reply in an earlier post:

Dreamhost said this:

"...because of recent changes made to the industry regarding email policies. DreamHost and other providers now require authorization in order to send mail over the server. This may require alteration of the scripts to have complaint information. You can review the new requirements here."

In some cases Google requires API integration on top of the SMTP authorization. I cannot Further information on this can be found here."

This is all WAY beyond my head. Can anyone tell me what exactly I need to do to get these working properly again?
Ah, gotcha, my apologies.
You may want to use something like Sendgrid to send your emails. So, instead of Dreamhost sending your emails, SendGrid takes over that responsibility.

Here's their API reference guide: Authentication
 
I don't know how to do that. What code do I need to change and what to? I don't get why the code works without issue on GoDaddy, but not Dreamhost. 🤷‍♀️

**EDIT: Please treat me like a complete noob because I am on this particular topic as I just got this code from Bootstrap. I don't understand why it works, it's just never been an issue and I don't know when it became one.
 
Top Bottom