Afternoon chaps,
I have a small question, we recently switched to phpVMS with our small virtual airline, everything is working great and we are on: Version 5.5.2.72 simpilot/php7.2
Confirmation Sent
Thanks for registering for Open Air Virtual, you will be notified via email of your registration status.
Fatal error: Uncaught Error: Class 'SMTP' not found in /var/www/html/core/lib/phpmailer/class.phpmailer.php:1736 Stack trace: #0 /var/www/html/core/lib/phpmailer/class.phpmailer.php(1861): PHPMailer->getSMTPInstance() #1 /var/www/html/core/lib/phpmailer/class.phpmailer.php(1774): PHPMailer->smtpConnect(Array) #2 /var/www/html/core/lib/phpmailer/class.phpmailer.php(1516): PHPMailer->smtpSend('Date: Fri, 10 J...', 'This is a multi...') #3 /var/www/html/core/lib/phpmailer/class.phpmailer.php(1352): PHPMailer->postSend() #4 /var/www/html/core/classes/Util.class.php(306): PHPMailer->send() #5 /var/www/html/core/modules/Registration/Registration.php(145): Util::SendEmail(''mail_taken_out...', 'A user has regi...', '<html><head></h...') #6 /var/www/html/core/modules/Registration/Registration.php(42): Registration->ProcessRegistration() #7 /var/www/html/core/classes/MainController.class.php(218): Registration->index() #8 /var/www/html/index.php(70): MainController::RunAllActions() #9 {main} thrown in /var/www/html/core/lib/phpmailer/class.phpmailer.php on line 1736
Local.config.php
# Email Settings
Config::Set('EMAIL_FROM_NAME', 'Information Open Air Virtual');
Config::Set('EMAIL_FROM_ADDRESS', 'send_from_my_mail');
Config::Set('EMAIL_USE_SMTP', true);
# Add multiple SMTP servers by separating them with ;
Config::Set('EMAIL_SMTP_SERVERS', 'smtp.strato.com');
Config::Set('EMAIL_SMTP_PORT', '465');
Config::Set('EMAIL_SMTP_USE_AUTH', true);
Config::Set('EMAIL_SMTP_SECURE', 'ssl'); # must be "ssl" for Google Apps
Config::Set('EMAIL_SMTP_USER', 'send_from_my_mail');
Config::Set('EMAIL_SMTP_PASS', '******************');
Send_from_my_mail and **** are correctly filled in in the original.
Thanks in advance for the help!
Cheers,
Peter