craigk5n / webcalendar

WebCalendar is a PHP application used to maintain a calendar for a single user or an intranet group of users. It can also be configured as an event calendar.
http://www.k5n.us/webcalendar.php
GNU General Public License v2.0
153 stars 75 forks source link

Webcalendar 1.3.0 - Mail issues #150

Open frangat opened 5 years ago

frangat commented 5 years ago

I receive email messages from 1.27 version, but nothing from 1.30. What could I check?

Mail setting in 1.27 mail127 Mail setting in 1.30 mail130

frangat commented 5 years ago

Creating a new event, the following message appears:

E-Mail Errore

smtp_connect_failed
Cambiamenti salvati correttamente
frangat commented 5 years ago

No way to send email in 1.30 version. Tried different server, different version (php 5.6, 7.1), different db (imported from 1.27 and starting from scratch). In all these conditions version 1.27 runs smoothly.

heraklid commented 5 years ago

we have the same problem! Get you any solution?

frangat commented 5 years ago

No answer at all. I stick to 1.27 version.

janvanl commented 5 years ago

Hi, when e-mail is activated the program crashes, PHP give the following errors. I tried PHPMail - Sendmail - SMTP None is working,

[Wed Aug 14 23:51:15.629195 2019] [fcgid:warn] [pid 14278] [client 123.123.123.123:40424] mod_fcgid: read data timeout in 45 seconds, referer: https://....../edit_entry.php?date=20190815&defusers=&hour=11&minute=15 [Wed Aug 14 23:51:15.629246 2019] [core:error] [pid 14278] [client 123.123.123.123:40424] End of script output before headers: edit_entry_handler.php, referer: https://....../edit_entry.php?date=20190815&defusers=&hour=11&minute=15

Is there anyone that has E-Mail working on 1.30?

Reegards, JAn

marcnyc2001 commented 4 years ago

I have the same problem as well... is there a solution to the "smtp_connect_failed" error? The strange thing is that I have my mailer set to "PHP Mail" so why would I get an "smtp_connect_failed" if I'm not using STMP?

marcnyc2001 commented 4 years ago

I wanted to report that when changing to SMTP I was able to make it work with port 26

elacour commented 1 year ago

Just hitted similar bug on lastest master. For me it's just that "tls" is forced in WebCalMailer.php. Should be configurable.

elacour commented 1 year ago

Just hitted similar bug on lastest master. For me it's just that "tls" is forced in WebCalMailer.php. Should be configurable.

I just made a pull request for this: https://github.com/craigk5n/webcalendar/pull/337