Web Weather > Weather Website PHP/AJAX scripting

Saratoga Contact PHP not working

(1/2) > >>

92merc:
Anyone else having issues with the Contact Us PHP form?  I'm using the number LP version currently.  But I tried the hCapcha version as well.  Neither one is working at the moment.

I have the same PHP running on my home Synolgy NAS test server as my main site, and it doesn't work there either.  So I don't think it's my host that causing the issue.

I've tried changing from my ISP email to Gmail.  Neither get the emails, even though the site claims it was sent.

Only reason I figured out it wasn't working is I looked at my contact-loglp.txt file for logging and it had a couple of people I didn't get emails from.  Guessing from the log vs. my emails, it probably quit sometime this summer.  I'm not seeing any errors in my main hosting error logs either.  Only entry was when I misconfigured the hCaptcha version.  Once I fixed that, it still didn't go out.  I've ditched that version since it seems some bots can get by it.

https://www.bismarckweather.net/wxcontact.php

Otis:
Funny you bring this up, I just checked mine (LP version) this morning.
Mine is working.
Never did have success with getting a gmail account to work.

92merc:
I have an email forwarder with my hosting plan.  It forwarded my single bismarckweather.net email address to my ISP email.  That didn't work either. 

saratogaWX:

--- Quote from: 92merc on December 19, 2024, 01:25:27 PM ---Anyone else having issues with the Contact Us PHP form?  I'm using the number LP version currently.  But I tried the hCapcha version as well.  Neither one is working at the moment.

I have the same PHP running on my home Synolgy NAS test server as my main site, and it doesn't work there either.  So I don't think it's my host that causing the issue.

I've tried changing from my ISP email to Gmail.  Neither get the emails, even though the site claims it was sent.

Only reason I figured out it wasn't working is I looked at my contact-loglp.txt file for logging and it had a couple of people I didn't get emails from.  Guessing from the log vs. my emails, it probably quit sometime this summer.  I'm not seeing any errors in my main hosting error logs either.  Only entry was when I misconfigured the hCaptcha version.  Once I fixed that, it still didn't go out.  I've ditched that version since it seems some bots can get by it.

https://www.bismarckweather.net/wxcontact.php

--- End quote ---
Definitely, the contactLP is much more resistant to hackers than the Google reCaptcha and the hCaptcha versions

It may be that your mailer doesn't like having a From: header in the message which doesn't match YOUR userid@hostname, but will allow a Reply-to: header.

Try changing contactLP-inc.php from
--- Quote ---    mail($mailto,$subj,$msg,"From: $EMname <$EMaddress>\r\nReply-to: $EMname <$EMaddress>");

--- End quote ---
to
--- Quote ---    mail($mailto,$subj,$msg,"Reply-to: $EMname <$EMaddress>");

--- End quote ---

As many hosters tighten up email rules, third-party From: headers are now mostly bounced.  I had the same issue with mine.

92merc:
Still not working.  I even changed my email address back to my forwarder bismarckweather.net account.

Navigation

[0] Message Index

[#] Next page

Go to full version