1

Topic: br />Language string failed to load: tls (PHPMailer)

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.5.2
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: Ubuntu
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro? YES
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Content: SMTP -> get_lines(): $data was ""
<br />SMTP -> get_lines(): $str is "220 eurolinkonline.com ESMTP Postfix
"
<br />SMTP -> get_lines(): $data is "220 eurolinkonline.com ESMTP Postfix
"
<br />SMTP -> FROM SERVER:220 eurolinkonline.com ESMTP Postfix

<br />SMTP -> get_lines(): $data was ""
<br />SMTP -> get_lines(): $str is "250-eurolinkonline.com
"
<br />SMTP -> get_lines(): $data is "250-eurolinkonline.com
"
<br />SMTP -> get_lines(): $data was "250-eurolinkonline.com
"
<br />SMTP -> get_lines(): $str is "250-PIPELINING
"
<br />SMTP -> get_lines(): $data is "250-eurolinkonline.com
250-PIPELINING
"
<br />SMTP -> get_lines(): $data was "250-eurolinkonline.com
250-PIPELINING
"
<br />SMTP -> get_lines(): $str is "250-SIZE 40960000
"
<br />SMTP -> get_lines(): $data is "250-eurolinkonline.com
250-PIPELINING
250-SIZE 40960000
"
<br />SMTP -> get_lines(): $data was "250-eurolinkonline.com
250-PIPELINING
250-SIZE 40960000
"
<br />SMTP -> get_lines(): $str is "250-ETRN
"
<br />SMTP -> get_lines(): $data is "250-eurolinkonline.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
"
<br />SMTP -> get_lines(): $data was "250-eurolinkonline.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
"
<br />SMTP -> get_lines(): $str is "250-STARTTLS
"
<br />SMTP -> get_lines(): $data is "250-eurolinkonline.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
250-STARTTLS
"
<br />SMTP -> get_lines(): $data was "250-eurolinkonline.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
250-STARTTLS
"
<br />SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES
"
<br />SMTP -> get_lines(): $data is "250-eurolinkonline.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
"
<br />SMTP -> get_lines(): $data was "250-eurolinkonline.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
"
<br />SMTP -> get_lines(): $str is "250-8BITMIME
"
<br />SMTP -> get_lines(): $data is "250-eurolinkonline.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
"
<br />SMTP -> get_lines(): $data was "250-eurolinkonline.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
"
<br />SMTP -> get_lines(): $str is "250-DSN
"
<br />SMTP -> get_lines(): $data is "250-eurolinkonline.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
"
<br />SMTP -> get_lines(): $data was "250-eurolinkonline.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
"
<br />SMTP -> get_lines(): $str is "250 SMTPUTF8
"
<br />SMTP -> get_lines(): $data is "250-eurolinkonline.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 SMTPUTF8
"
<br />SMTP -> FROM SERVER: 250-eurolinkonline.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 SMTPUTF8

<br />SMTP -> get_lines(): $data was ""
<br />SMTP -> get_lines(): $str is "220 2.0.0 Ready to start TLS
"
<br />SMTP -> get_lines(): $data is "220 2.0.0 Ready to start TLS
"
<br />SMTP -> FROM SERVER:220 2.0.0 Ready to start TLS

<br />SMTP -> get_lines(): $data was ""
<br />SMTP -> get_lines(): $str is "M
   y3< Z-qA[ }3GзA    wp  d  / -! #  B4 >b  H  $ ߵh
                                                D  ͛ x Z/  :    N lo   |@N^J  hj  @yc /  3dDk     ;  ! + ]U  l,K! ³ 1`T  ;  +  qT h }    "!{ -^f d9
Z   CW xb              g   l r \w>;  V Z<8a   { KͿ/y zf Y7V    ߡ ~9& 4   Gb  Nj   a +s  q eM    8 Nh                                               O  '] d ?  pܴ  (
br />SMTP -> get_lines(): $data is "M
   y3< Z-qA[ }3GзA    wp  d  / -! #  B4 >b  H  $ ߵh
                                                D  ͛ x Z/  :    N lo   |@N^J  hj  @yc /  3dDk     ;  ! + ]U  l,K! ³ 1`T  ;  +  qT h }    "!{ -^f d9
Z   CW xb              g   l r \w>;  V Z<8a   { KͿ/y zf Y7V    ߡ ~9& 4   Gb  Nj   a +s  q eM    8 Nh                                               O  '] d ?  pܴ  (
br />SMTP -> FROM SERVER:M
   y3< Z-qA[ }3GзA    wp  d  / -! #  B4 >b
                                                D  ͛ x Z/  :    N lo   |@N^J  hj  @yc /  3dDk     ;  ! + ]U  l,K! ³ 1`T  ;  +  qT h }    "!{ -^f d9
Z   CW xb              g   l r \w>;  V Z<8a   { KͿ/y zf Y7V    ߡ ~9& 4   Gb  Nj   a +s  q eM    8 Nh                                               O  '] d ?  pܴ  (
br />SMTP -> ERROR: RSET failed: M
   y3< Z-qA[ }3GзA    wp  d  / -! #  B4 >b  $ ߵh
                                                D  ͛ x Z/  :    N lo   |@N^J  hj  @yc /  3dDk     ;  ! + ]U  l,K! ³ 1`T  ;  +  qT h }    "!{ -^f d9
Z   CW xb              g   l r \w>;  V Z<8a   { KͿ/y zf Y7V    ߡ ~9& 4   Gb  Nj   a +s  q eM    8 Nh                                               O  '] d ?  pܴ  (
br />Language string failed to load: tls

Please help with the error on the PHP mailer, I have attached the error logs generated by the system.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: br />Language string failed to load: tls (PHPMailer)

seems like you tried to load localization which is not available, but this bug is not related to iredmail since it does not use phpmailer

https://github.com/PHPMailer/PHPMailer

which version are you useing?

3

Re: br />Language string failed to load: tls (PHPMailer)

Cthulhu wrote:

seems like you tried to load localization which is not available, but this bug is not related to iredmail since it does not use phpmailer



which version are you useing?

Thank you very much Cthulhu for your reply let me get back to you on the version of mailerphp.

4

Re: br />Language string failed to load: tls (PHPMailer)

admin_mail wrote:
Cthulhu wrote:

seems like you tried to load localization which is not available, but this bug is not related to iredmail since it does not use phpmailer



which version are you useing?

Thank you very much Cthulhu for your reply let me get back to you on the version of mailerphp.

The version of mailerphp is 5.1

5 (edited by Cthulhu 2022-08-18 14:39:10)

Re: br />Language string failed to load: tls (PHPMailer)

PHPMailer 5.2 (which is compatible with PHP 5.0 — 7.0) is no longer supported, even for security updates. If you're using PHP 5.5 or later (which you should be), switch to the 6.x releases.

5.1 was released 12 years ago, i guess you agree that this should not even be considered to be used anymore

as far as i know, 5.1 didn't even support TLS, so the error is caused by the initialized handshake for tls, and since it was not yet impemented, the localization for it failed aswell

how did you get such an old version from?

6

Re: br />Language string failed to load: tls (PHPMailer)

Cthulhu wrote:

PHPMailer 5.2 (which is compatible with PHP 5.0 — 7.0) is no longer supported, even for security updates. If you're using PHP 5.5 or later (which you should be), switch to the 6.x releases.

5.1 was released 12 years ago, i guess you agree that this should not even be considered to be used anymore

as far as i know, 5.1 didn't even support TLS, so the error is caused by the initialized handshake for tls, and since it was not yet impemented, the localization for it failed aswell

how did you get such an old version from?

I see. It might be why they encountered those errors because of the old version.

The said version was used by our system provider for auto-sending an email notification to our clients.

I really appreciate your help. Thank you very much for your time.

7

Re: br />Language string failed to load: tls (PHPMailer)

Better get support from PHPMailer instead.