I'm new to Easy!Appointments. I have it installed and running on prem.
When someone creates an appointment, the appointment details email does not get sent. When I edit the appointment, that email does not get sent.
Only when I delete the appointment, does the email get successfully sent.
<?php defined('BASEPATH') or exit('No direct script access allowed');
// Add custom values by settings them to the $config array.
// Example: $config['smtp_host'] = '
smtp.gmail.com';
// @link
https://codeigniter.com/user_guide/libraries/email.html$config['useragent'] = 'Easy!Appointments';
$config['protocol'] = 'smtp'; // or 'smtp'
$config['mailtype'] = 'html'; // or 'text'
$config['smtp_debug'] = '1'; // or '1'
$config['smtp_auth'] = TRUE; //or FALSE for anonymous relay.
$config['smtp_host'] = 'xxxx';
$config['smtp_user'] = 'xxxx';
$config['smtp_pass'] = 'xxxx';
$config['smtp_crypto'] = 'ssl'; // or 'tls'
$config['smtp_port'] = 465;
$config['from_name'] = 'Patrick Ermer';
$config['from_address'] = 'xxxx';
// $config['reply_to'] = '';
$config['crlf'] = "\r\n";
$config['newline'] = "\r\n";
ERROR - 2025-05-02 11:13:28 --> Notifications - Could not email confirmation details of appointment (65) : Call to undefined function Jsvrcek\ICS\mb_strcut()
ERROR - 2025-05-02 11:13:28 --> #0 /var/www/easyappointments/vendor/jsvrcek/ics/src/CalendarExport.php(212): Jsvrcek\ICS\CalendarStream->addItem()
#1 /var/www/easyappointments/application/libraries/Ics_file.php(182): Jsvrcek\ICS\CalendarExport->getStream()
#2 /var/www/easyappointments/application/libraries/Notifications.php(71): Ics_file->get_stream()
#3 /var/www/easyappointments/application/controllers/Booking.php(464): Notifications->notify_appointment_saved()
#4 /var/www/easyappointments/system/core/CodeIgniter.php(481): Booking->register()
#5 /var/www/easyappointments/index.php(331): require_once('...')
#6 {main}
ERROR - 2025-05-02 11:16:26 --> Notifications - Could not email confirmation details of appointment (65) : Call to undefined function Jsvrcek\ICS\mb_strcut()
ERROR - 2025-05-02 11:16:26 --> #0 /var/www/easyappointments/vendor/jsvrcek/ics/src/CalendarExport.php(212): Jsvrcek\ICS\CalendarStream->addItem()
#1 /var/www/easyappointments/application/libraries/Ics_file.php(182): Jsvrcek\ICS\CalendarExport->getStream()
#2 /var/www/easyappointments/application/libraries/Notifications.php(71): Ics_file->get_stream()
#3 /var/www/easyappointments/application/controllers/Calendar.php(308): Notifications->notify_appointment_saved()
#4 /var/www/easyappointments/system/core/CodeIgniter.php(481): Calendar->save_appointment()
#5 /var/www/easyappointments/index.php(331): require_once('...')
#6 {main}