contact doesnt work

Post Reply
User avatar
meteoesine
Forecaster
Forecaster
Posts: 182
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2+
Software: Meteobridge nano
Contact:

contact doesnt work

Post by meteoesine » Thu Jun 27, 2024 7:25 am

HI,
I noticed that the plugin no longer no longer sends emails for me, neither in PHP 8.3 nor in PHP 7.4. I tried reinstalling the plugin from the blog and changing my email but to no avail. Consequently, offline notification doesn't work either, although it doesn't display any anomalies (Everything OK :)
Have any of you encountered the same problem?
many thanks for any comments
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

User avatar
meteoesine
Forecaster
Forecaster
Posts: 182
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2+
Software: Meteobridge nano
Contact:

Re: contact doesnt work

Post by meteoesine » Sat Oct 19, 2024 11:25 am

Hi there
I ask the question from the previous post again: am I the only one whose contact plugin no longer works?
have you tried to send yourself an email from the plugin? do you receive them?
tnx in advance for any comments
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

User avatar
MeteoElMasnou
Observer
Observer
Posts: 28
Joined: Sat Feb 05, 2022 1:56 pm
Location: El Masnou / Catalunya
Station model: Davis Vantage Vue
Software: Meteobridge + Weewx
Contact:

Re: contact doesnt work

Post by MeteoElMasnou » Mon Oct 21, 2024 6:42 am

meteoesine wrote: Sat Oct 19, 2024 11:25 am Hi there
I ask the question from the previous post again: am I the only one whose contact plugin no longer works?
have you tried to send yourself an email from the plugin? do you receive them?
tnx in advance for any comments
Hi
The plugin CONTACT under php 7.4 works perfectly.
I just checked it.

Greetings

FSC830
Forecaster
Forecaster
Posts: 191
Joined: Thu Aug 02, 2018 11:40 am
Station model: Davis Vantage Pro2
Software: Meteobridge

Re: contact doesnt work

Post by FSC830 » Sat Nov 02, 2024 7:00 am

Late reply... :?

Actually I can confirm that contact also runs with PHP 8.3.
But I noticed, that sending e-mails depends to the used e-mail program.
I am using ssmtp and needed to modify one line:

Original:

Code: Select all

if(mail($to, "Webpage comment", $emailText, $headers)){
Modified:

Code: Select all

if(mail($to, $subject, $emailText)){
This works perfectly in my test site.
At origin site I cant use the plugin because I cant install any mail program at host (missing permissions - it is a hosted web space).

Regards
Image

User avatar
meteoesine
Forecaster
Forecaster
Posts: 182
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2+
Software: Meteobridge nano
Contact:

Re: contact doesnt work

Post by meteoesine » Sun Nov 03, 2024 6:16 am

thanks for reply
for my opinion the problem is not only a plugin problem but due to one of the recent structural changes of the template: I also noticed that it does not even send offline notifications anymore (it worked well some time ago)
tnx & regards
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

FSC830
Forecaster
Forecaster
Posts: 191
Joined: Thu Aug 02, 2018 11:40 am
Station model: Davis Vantage Pro2
Software: Meteobridge

Re: contact doesnt work

Post by FSC830 » Sun Nov 03, 2024 7:49 am

Actually I never did use this at my live site, I just added the cron job to my test site and stopped updating.
A few minutes later offline notification dropped in.
Starting updating again the online mail receives within 1 minute.

So works as designed. :?:

Regards

Edit: can you send mails from hosts CLI?
Image

User avatar
meteoesine
Forecaster
Forecaster
Posts: 182
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2+
Software: Meteobridge nano
Contact:

Re: contact doesnt work

Post by meteoesine » Sun Nov 03, 2024 6:57 pm

Hallo Frank
nothing to do, it's a problem of mine that I can't solve.
I can send and receive mails from my host's mail server but I can't start them from the template.

if I run the Test Email from the main setup it says: 'Test email has been sent. Close this tab and wait if it arrives' but nothing arrives...

mysterious mysteries
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

Post Reply