I get the following error when accepting applications
Warning: require(/public_html/waridischool.ac.ke/sis/lib/PHPMailer/class.phpmailer.php): failed to open stream: No such file or directory in /home/jmsperu1/public_html/waridischool.ac.ke/sis/modules/Students/applicationForm_manage_accept.php on line 24
Fatal error: require(): Failed opening required ‘/public_html/waridischool.ac.ke/sis/lib/PHPMailer/class.phpmailer.php’ (include_path=‘:/usr/local/php70/lib/php’) in /home/jmsperu1/public_html/waridischool.ac.ke/sis/modules/Students/applicationForm_manage_accept.php on line 24
SMTP settings are a new feature in v13, and can be found under Admin > System Admin in the main menu and then Third Party Settings in the module menu. v13 is due for release on January 20th 2017 (as I believe you know), and you can see this feature in the development branch already.
We are attempting to send emails automatically to parents once their application has been approved. However, there seems to be an issue when attempting to do this.
We selected the below and setup the smtp mail settings already but we keep getting error msg regarding the sent mail.
Automatically inform parents of their Gibbon login details by email?
Parent Welcome Email
A welcome email could not be sent to Jill Done.
[Sun Jan 29 14:23:14 2017] [error] [client 72.252.198.39] PHP Warning: stream_socket_enable_crypto(): Peer certificate CN=dallas137.arvixeshared.com' did not match expected CN=localhost’ in /home/public_html/domain.com/sms/lib/PHPMailer/class.smtp.php on line 355, referer: http://domain.com/index.php?q=/modules/Students/applicationForm_manage_accept.php&gibbonApplicationFormID=000000000004&gibbonSchoolYearID=022&search=
[Sun Jan 29 14:22:12 2017] [error] [client 72.252.198.39] PHP Warning: stream_socket_enable_crypto(): Peer certificate CN=dallas137.arvixeshared.com' did not match expected CN=localhost’ in /home/public_html/domain.com//sms/lib/PHPMailer/class.smtp.php on line 355, referer: http://domain.com//?q=/modules/Students/applicationForm.php
[Sun Jan 29 14:22:12 2017] [error] [client 72.252.198.39] PHP Warning: stream_socket_enable_crypto(): Peer certificate CN=dallas137.arvixeshared.com' did not match expected CN=localhost’ in /home/public_html/domain.com/sms/lib/PHPMailer/class.smtp.php on line 355, referer: http://domain.com/?q=/modules/Students/applicationForm.php
James, to enter the SMTP information, please make sure you are using v13, and then go to Admin > School Admin in the main menu, followed by Third Party Settings in the module menu.
rprice1978, I would look at using Google’s servers to send the mail out, rather than your host (some hosts don’t allow this on shared servers in order to control performance issues. Check out this Google guide and then go to Admin > School Admin in the main menu, followed by Third Party Settings in the module menu. Ross.