Author Topic: ContactLP  (Read 296 times)

0 Members and 1 Guest are viewing this topic.

Offline Otis

  • (aka Paul)
  • Forecaster
  • *****
  • Posts: 728
    • Lake Huron Weather
ContactLP
« on: March 15, 2024, 10:31:24 AM »
It seems my contact page is not working, it is not sending an email to my desired account.  I know it worked some time ago but not now.  I had not changed anything so not sure what happened.  Any assistance will be appreciated.

https://lakehuronweather.org/wxContactUs.php

CW3699

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9298
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: ContactLP
« Reply #1 on: March 15, 2024, 11:36:40 AM »
The contactLP form uses the built-in PHP function of mail() to send the mail.  Contact your tech support for your hoster to have them test the mail() function on your site -- they may have changed the configuration for how the mail() function performs the sending of email.

Your instance seems to be working correctly on the wxContactUs.php page.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Otis

  • (aka Paul)
  • Forecaster
  • *****
  • Posts: 728
    • Lake Huron Weather
Re: ContactLP
« Reply #2 on: March 15, 2024, 12:49:19 PM »
Thanks Ken I will get into it.

CW3699

Offline Otis

  • (aka Paul)
  • Forecaster
  • *****
  • Posts: 728
    • Lake Huron Weather
Re: ContactLP - Solved
« Reply #3 on: March 22, 2024, 07:12:30 AM »
Update

Looks like the problem was with trying to have the form send the message to a gmail account.
Have not resolved the gmail issue yet with my Host provider.
I did change where the message should be sent, to a non gmail account, and the form seems to be working.
« Last Edit: March 22, 2024, 09:08:40 AM by Otis »

CW3699

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9298
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: ContactLP
« Reply #4 on: March 22, 2024, 09:45:21 AM »
Google has tightened up the requirements to send email to their users.  It requires that the DNS for the mailer have specific stuff:

https://support.google.com/a/answer/81126?hl=en

Have your hoster fix up the mailer engine for your website to enable sending to gmail accounts.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Otis

  • (aka Paul)
  • Forecaster
  • *****
  • Posts: 728
    • Lake Huron Weather
Re: ContactLP
« Reply #5 on: March 22, 2024, 11:08:16 AM »
Thanks Ken.
I had found my host's documentation on how to do it they just have not implemented yet.  So that is why I tried a different address and it works.  Thanks for the link, I can share with tech support if they need it  :oops:

CW3699