I can't receive emails from my contact form to my gmail.

ARNVTC

New Member
Messages
13
Reaction score
0
Points
1
I have made a contact form (The form is for them to contact me, not to contact me) that uses PHPMailer so that it sends an email, the problem is that it is sent correctly, it arrives, but it does not appear in the hosting email or in the gmail email, the message appears as sent but it is not received, I have configured PHPMailer with the SMTP of the hosting and everything is correct, the PHP file gives the approval to the sending, it simply remains in limbo and I do not receive the message in any email. I attach screenshots of my files referring to this, although I think it is not a matter of my files but of the server,
First of all I want to show that I have everything necessary for PHPMailer to work:

Captura de pantalla 2023-06-19 143530.png

I have the html file with the form which sends to the corresponding php file that sends:

Captura de pantalla 2023-06-19 143157.png

the sending to the file is done correctly showing the message that it has been sent correctly without any error in the sending, the php file is this other:

Captura de pantalla 2023-06-19 144000.png

To say that I have tried different things, all with the same result, the mail is sent correctly, no error is thrown but it does not reach the recipient, the things I have tried are the following:

• Send the mail from the email address of the hosting with the recipient of a gmail email
• Send the mail from the email address of the hosting to the same email address of the hosting
• Send the mail from the gmail email to the hosting email
• Send mail from gmail email to gmail email
• Use SMTP from the hosting
• Use Gmail SMTP

With all these tests the result is the same, the mail is sent correctly, but it does not reach the recipient's email.

I don't understand why this happens, I think they are not my files but something from the server configuration:

Captura de pantalla 2023-06-19 144948.png

there you can see how the shipment is done correctly, the problem is that those emails are not received.
I have the SMTP log in case it's useful, always ending with a "Completed" but I don't know if I can share it here, so I prefer not to post it unless someone from the administration tells me that it is possible. Basically in the SMTP logs you can see how both incoming and outgoing everything is correct, however, as I said, the emails do not reach any email address.

I don't know what else I can contribute that can help me solve this, I'm quite desperate, I've been with this for several days. If it is something from my files, someone tell me what is wrong and what I have to do to fix it, and if it is a thing of the hosting server, I would like them to fix it or tell me that it is badly configured and what I have to do to set it up right.
Somebody help me please?
 
Last edited:
Top