unable to send mail from OJS. following error appeared during mail sent. please help
I have upgraded DB OJS 2.4 to OJS 3.3.
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::removeBaseUrl() should not be called statically in /cpanel_data/icebook/public_html/ejournal/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 777
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::_getBaseUrlAndPath() should not be called statically in /cpanel_data/icebook/public_html/ejournal/lib/pkp/classes/core/Core.inc.php on line 231
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::removeBaseUrl() should not be called statically in /cpanel_data/icebook/public_html/ejournal/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 777
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::_getBaseUrlAndPath() should not be called statically in /cpanel_data/icebook/public_html/ejournal/lib/pkp/classes/core/Core.inc.php on line 231
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::removeBaseUrl() should not be called statically in /cpanel_data/icebook/public_html/ejournal/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 777
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::_getBaseUrlAndPath() should not be called statically in /cpanel_data/icebook/public_html/ejournal/lib/pkp/classes/core/Core.inc.php on line 231
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::removeBaseUrl() should not be called statically in /cpanel_data/icebook/public_html/ejournal/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 777
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::_getBaseUrlAndPath() should not be called statically in /cpanel_data/icebook/public_html/ejournal/lib/pkp/classes/core/Core.inc.php on line 231
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::removeBaseUrl() should not be called statically in /cpanel_data/icebook/public_html/ejournal/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 777
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::_getBaseUrlAndPath() should not be called statically in /cpanel_data/icebook/public_html/ejournal/lib/pkp/classes/core/Core.inc.php on line 231
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::removeBaseUrl() should not be called statically in /cpanel_data/icebook/public_html/ejournal/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 777
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::_getBaseUrlAndPath() should not be called statically in /cpanel_data/icebook/public_html/ejournal/lib/pkp/classes/core/Core.inc.php on line 231
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::removeBaseUrl() should not be called statically in /cpanel_data/icebook/public_html/ejournal/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 777
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::_getBaseUrlAndPath() should not be called statically in /cpanel_data/icebook/public_html/ejournal/lib/pkp/classes/core/Core.inc.php on line 231
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::removeBaseUrl() should not be called statically in /cpanel_data/icebook/public_html/ejournal/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 777
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::_getBaseUrlAndPath() should not be called statically in /cpanel_data/icebook/public_html/ejournal/lib/pkp/classes/core/Core.inc.php on line 231
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::removeBaseUrl() should not be called statically in /cpanel_data/icebook/public_html/ejournal/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 777
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::_getBaseUrlAndPath() should not be called statically in /cpanel_data/icebook/public_html/ejournal/lib/pkp/classes/core/Core.inc.php on line 231
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::removeBaseUrl() should not be called statically in /cpanel_data/icebook/public_html/ejournal/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 777
[17-Nov-2021 16:17:59 UTC] PHP Deprecated: Non-static method Core::_getBaseUrlAndPath() should not be called statically in /cpanel_data/icebook/public_html/ejournal/lib/pkp/classes/core/Core.inc.php on line 231
[17-Nov-2021 16:34:37 UTC] Connection: opening to 10.100.3.109:25, timeout=300, options=array()
[17-Nov-2021 16:34:37 UTC] Connection: opened
[17-Nov-2021 16:34:37 UTC] SERVER → CLIENT: 220 SRDELEXG01.ICAR.GOV.IN Microsoft ESMTP MAIL Service ready at Wed, 17 Nov 2021 16:35:39 +0530
[17-Nov-2021 16:34:37 UTC] CLIENT → SERVER: EHLO ebook.icar.gov.in
[17-Nov-2021 16:34:37 UTC] SERVER → CLIENT: 250-SRDELEXG01.ICAR.GOV.IN Hello [10.100.7.171]
250-SIZE 31457280
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
250 CHUNKING
[17-Nov-2021 16:34:37 UTC] CLIENT → SERVER: STARTTLS
[17-Nov-2021 16:34:37 UTC] SERVER → CLIENT: 220 2.0.0 SMTP server ready
[17-Nov-2021 16:34:37 UTC] Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed [/cpanel_data/icebook/public_html/ejournal/lib/pkp/lib/vendor/phpmailer/phpmailer/src/SMTP.php line 455]
[17-Nov-2021 16:34:37 UTC] SMTP Error: Could not connect to SMTP host.
[17-Nov-2021 16:34:37 UTC] CLIENT → SERVER: QUIT
[17-Nov-2021 16:34:37 UTC] SERVER → CLIENT:
[17-Nov-2021 16:34:37 UTC] SMTP ERROR: QUIT command failed:
[17-Nov-2021 16:34:37 UTC] Connection: closed
[17-Nov-2021 16:34:37 UTC] SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub
[17-Nov-2021 16:34:37 UTC] SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub
After ssl uncomment error
[17-Nov-2021 16:41:12 UTC] Connection: opening to ssl://10.100.3.109:25, timeout=300, options=array()
[17-Nov-2021 16:41:12 UTC] Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:1408F10B:SSL routines:ssl3_get_record:wrong version number [/cpanel_data/icebook/public_html/ejournal/lib/pkp/lib/vendor/phpmailer/phpmailer/src/SMTP.php line 375]
[17-Nov-2021 16:41:12 UTC] Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/cpanel_data/icebook/public_html/ejournal/lib/pkp/lib/vendor/phpmailer/phpmailer/src/SMTP.php line 375]
[17-Nov-2021 16:41:12 UTC] Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://10.100.3.109:25 (Unknown error) [/cpanel_data/icebook/public_html/ejournal/lib/pkp/lib/vendor/phpmailer/phpmailer/src/SMTP.php line 375]
[17-Nov-2021 16:41:12 UTC] SMTP ERROR: Failed to connect to server: (0)
[17-Nov-2021 16:41:12 UTC] SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub
[17-Nov-2021 16:41:12 UTC] SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub