Email

Community Support for Booked Scheduler
Post Reply
Kai
Posts: 1
Joined: Wed Sep 01, 2021 2:58 pm

Email

Post by Kai »

In a new Installation the email sending is not working, so we turned on the debug mode of the configuration.
In the log file you can see the obtained debug results.

Which program is needed for email sending with an IIS Web Server und MS Exchange?
How to understand the option in the config at "Mailer // options are 'mail', 'smtp' or 'sendmail'"?

Thanks for an answer.
Kai

Log:

Mail:
2021-08-26 14:21:41 Could not instantiate mail function.

SMTP: (Privacy protected)
021-08-26 14:15:35 Connection: opening to PRIVATEIPADDRESS, timeout=300, options=array ( ) 2021-08-26 14:15:35 Connection: opened 2021-08-26 14:15:35 SMTP -> get_lines(): $data is "" 2021-08-26 14:15:35 SMTP -> get_lines(): $str is "220 PRIVATEEMAILSERVER ESMTP Thu, 26 Aug 2021 16:15:33 +0200 " 2021-08-26 14:15:35 SERVER -> CLIENT: 220 PRIVATEEMAILSERVER ESMTP Thu, 26 Aug 2021 16:15:33 +0200 2021-08-26 14:15:35 CLIENT -> SERVER: EHLO PRIVATEIPADDRESS 2021-08-26 14:15:35 SMTP -> get_lines(): $data is "" 2021-08-26 14:15:35 SMTP -> get_lines(): $str is "250-PRIVATEEMAILSERVER Hello [PRIVATEIPADDRESS], pleased to meet you " 2021-08-26 14:15:35 SMTP -> get_lines(): $data is "250-PRIVATEEMAILSERVER Hello [PRIVATEIPADDRESS], pleased to meet you " 2021-08-26 14:15:35 SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES " 2021-08-26 14:15:35 SMTP -> get_lines(): $data is "250-PRIVATEEMAILSERVER Hello [PRIVATEIPADDRESS], pleased to meet you 250-ENHANCEDSTATUSCODES " 2021-08-26 14:15:35 SMTP -> get_lines(): $str is "250-PIPELINING " 2021-08-26 14:15:35 SMTP -> get_lines(): $data is "250-PRIVATEEMAILSERVER Hello [PRIVATEIPADDRESS], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING " 2021-08-26 14:15:35 SMTP -> get_lines(): $str is "250-8BITMIME " 2021-08-26 14:15:35 SMTP -> get_lines(): $data is "250-PRIVATEEMAILSERVER Hello [PRIVATEIPADDRESS], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME " 2021-08-26 14:15:35 SMTP -> get_lines(): $str is "250 STARTTLS " 2021-08-26 14:15:35 SERVER -> CLIENT: 250-PRIVATEEMAILSERVER Hello [PRIVATEIPADDRESS], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250 STARTTLS 2021-08-26 14:15:35 CLIENT -> SERVER: STARTTLS 2021-08-26 14:15:35 SMTP -> get_lines(): $data is "" 2021-08-26 14:15:35 SMTP -> get_lines(): $str is "220 2.0.0 Ready to start TLS " 2021-08-26 14:15:35 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS 2021-08-26 14:15:35 SMTP Error: Could not connect to SMTP host. 2021-08-26 14:15:35 CLIENT -> SERVER: QUIT 2021-08-26 14:15:35 SMTP -> get_lines(): $data is "" 2021-08-26 14:15:35 SMTP -> get_lines(): $str is "

yullr
Posts: 2
Joined: Wed Sep 01, 2021 3:15 pm

Re: Email

Post by yullr »

You dont neet to install any program for use the mail notifications, you just only need an email with smtp/pop enable.

Look for the email who will send the notifications and search the smtp configuration, you have to copy this information on the mailer configuration.

look here: https://www.hostinger.co/tutoriales/com ... -gratuito/

herby1620
Posts: 16
Joined: Tue Jul 28, 2020 9:32 pm

Re: Email

Post by herby1620 »

From the looks of it, it appears that the communication broke down trying to use a TLS connection. It may require SSH or some such to make this all functional, I don't know. Others may have better insight.

I will note that Booked uses the package "PhpMailer", which has been upgraded from the version in Booked (5.0) to a more recent version (6.5.1). The new version is not compatible with with the 5.0 version. I don't know what the effort would be to update Booked to the newer version, but I suspect that although it would be "non trivial", it wouldn't be difficult.

Not much "help" but maybe a couple of pointers. Best of luck.

Post Reply