Form mail issue

1 reply · opened Feb 1, 2024

Nnidal2020Feb 1, 2024

Hello,
Template: SEO
Form: block-form-8.html

I am having an issue with the Form, and submitting it, and nothing is happening,
I checked the server and php-8 setting, and it looks like nginx is getting the message to PHP

192.168.240.3 - 01/Feb/2024:00:12:00 +0000 "POST /include/form.php" 200

To make sure, I wrote a simple PHP script and I was able to get the message:
192.168.240.3 - 01/Feb/2024:00:12:27 +0000 "POST /include/send-email.php" 302

https://app1.nidal.ca/contact-form.html

include/form.php
/* Add your SMTP Codes after this Line */

$mail->IsSMTP();
$mail->Host = "192.168.122.144";
$mail->SMTPDebug = 0;
$mail->SMTPAuth = false;
$mail->Port = 25;

Logs


{ "alert": "error", "message": "Email **could not**
be sent due to some Unexpected Error. Please Try Again later.

**Reason:**

SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: failed to send notification
 SMTP code: 450" }

Request URL:
https://app1.nidal.ca/include/form.php
Request Method:
POST
Status Code:
200 OK
Remote Address:
51.195.100.226:443
Referrer Policy:
strict-origin-when-cross-origin
Content-Encoding:
gzip
Content-Type:
text/html; charset=UTF-8
Date:
Thu, 01 Feb 2024 02:27:23 GMT
Server:
openresty
X-Powered-By:
PHP/8.3.2
X-Served-By:
app1.nidal.ca
:authority:
app1.nidal.ca
:method:
POST
:path:
/include/form.php
:scheme:
https
Accept:
application/json, text/javascript, */*; q=0.01
Accept-Encoding:
gzip, deflate, br
Accept-Language:
en-US,en;q=0.8
Authorization:
Basic YWRtaW46R2VsYXRvITIwMTc=
Content-Length:
261
Content-Type:
application/x-www-form-urlencoded; charset=UTF-8
Origin:
https://app1.nidal.ca
Referer:
https://app1.nidal.ca/contact-form.html
Sec-Ch-Ua:
"Not A(Brand";v="99", "Brave";v="121", "Chromium";v="121"
Sec-Ch-Ua-Mobile:
?0
Sec-Ch-Ua-Platform:
"Windows"
Sec-Fetch-Dest:
empty
Sec-Fetch-Mode:
cors
Sec-Fetch-Site:
same-origin
Sec-Gpc:
1
User-Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
X-Requested-With:
XMLHttpRequest

Thanks,
Nidal

Nnidal2020Feb 1, 2024

The issue is resolved!
Ticket can be closed

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard