Hi, I have setup SMTP and it works fine, email get deliverd but I get these errors below.
I’m running PHP 7.3.8
A PHP Error was encountered
Severity: 8192
Message: filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated
Filename: src/PHPMailer.php
Line Number: 3599
Backtrace:
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 3599
Function: filter_var
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 3565
Function: isValidHost
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 2304
Function: serverHostname
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1421
Function: createHeader
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1316
Function: preSend
File: /home/nginx/domains/domain.com/public/application/modules/mailer/helpers/phpmailer_helper.php
Line: 145
Function: send
File: /home/nginx/domains/domain.com/public/application/helpers/mailer_helper.php
Line: 76
Function: phpmail_send
File: /home/nginx/domains/domain.com/public/application/modules/mailer/controllers/Mailer.php
Line: 162
Function: email_invoice
File: /home/nginx/domains/domain.com/public/index.php
Line: 325
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated
Filename: src/PHPMailer.php
Line Number: 3599
Backtrace:
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 3599
Function: filter_var
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1850
Function: isValidHost
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1725
Function: smtpConnect
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1481
Function: smtpSend
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1320
Function: postSend
File: /home/nginx/domains/domain.com/public/application/modules/mailer/helpers/phpmailer_helper.php
Line: 145
Function: send
File: /home/nginx/domains/domain.com/public/application/helpers/mailer_helper.php
Line: 76
Function: phpmail_send
File: /home/nginx/domains/domain.com/public/application/modules/mailer/controllers/Mailer.php
Line: 162
Function: email_invoice
File: /home/nginx/domains/domain.com/public/index.php
Line: 325
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated
Filename: src/PHPMailer.php
Line Number: 3599
Backtrace:
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 3599
Function: filter_var
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 3565
Function: isValidHost
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1885
Function: serverHostname
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1725
Function: smtpConnect
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1481
Function: smtpSend
File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1320
Function: postSend
File: /home/nginx/domains/domain.com/public/application/modules/mailer/helpers/phpmailer_helper.php
Line: 145
Function: send
File: /home/nginx/domains/domain.com/public/application/helpers/mailer_helper.php
Line: 76
Function: phpmail_send
File: /home/nginx/domains/domain.com/public/application/modules/mailer/controllers/Mailer.php
Line: 162
Function: email_invoice
File: /home/nginx/domains/domain.com/public/index.php
Line: 325
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/nginx/domains/domain.com/public/vendor/codeigniter/framework/system/core/Exceptions.php:271)
Filename: helpers/url_helper.php
Line Number: 564
Backtrace:
File: /home/nginx/domains/domain.com/public/application/modules/mailer/controllers/Mailer.php
Line: 165
Function: redirect
File: /home/nginx/domains/domain.com/public/index.php
Line: 325
Function: require_once