PHP code example of foorschtbar / tls_icon
1. Go to this page and download the library: Download foorschtbar/tls_icon library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
foorschtbar / tls_icon example snippets
$config['tls_icon'] = [
'header_pattern' => '(by <your.mail.server>|from \[127\.0\.0\.1\])',
'check_pattern' => '\(using TLSv?(1\.[2-3])',
'local_pattern' => '(mailcowdockerized-dovecot-mailcow-1|127.0.0.1)',
'tooltip_pattern' => '\(using\s(.*?)\s',
];