[commits] Smtp branch master updated. 1a92ea5368feec0c0de766d4b06085d9758470d9

jan at horde.org jan at horde.org
Thu Nov 19 17:56:29 UTC 2020


The branch "master" has been updated.
The following is a summary of the commits.

from: 32a32f9ffdde731cf93231597673ad0038e6f341

1a92ea5 Enable plaintext SMTP access

Summary: https://github.com/horde/Smtp/compare/32a32f9ffdde...1a92ea5368fe

-----------------------------------------------------------------------

commit 1a92ea5368feec0c0de766d4b06085d9758470d9
Author: nhirokinet <nhirokinet at nhiroki.net>
Date:   Thu, 19 Nov 2020 18:56:26 +0100

Enable plaintext SMTP access

Smtp.php gets 'secure' param with false in case plaintext connection.
array_filter` without callback function removes false value.
```
$ php -r 'var_dump(array_filter(["a", false, "b"]));'
array(2) {
  [0]=>
  string(1) "a"
  [2]=>
  string(1) "b"
}
```

So, at least here should accept false value to enable plaintext connection.

 M lib/Horde/Smtp.php

https://github.com/horde/Smtp/commit/1a92ea5368feec0c0de766d4b06085d9758470d9


More information about the commits mailing list