Changeset View
Changeset View
Standalone View
Standalone View
src/app/Backends/IMAP.php
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | private static function getConfig() | ||||
'user' => \config('imap.admin_login'), | 'user' => \config('imap.admin_login'), | ||||
'password' => \config('imap.admin_password'), | 'password' => \config('imap.admin_password'), | ||||
'options' => [ | 'options' => [ | ||||
'port' => !empty($uri['port']) ? $uri['port'] : $default_port, | 'port' => !empty($uri['port']) ? $uri['port'] : $default_port, | ||||
'ssl_mode' => $ssl_mode, | 'ssl_mode' => $ssl_mode, | ||||
'socket_options' => [ | 'socket_options' => [ | ||||
'ssl' => [ | 'ssl' => [ | ||||
'verify_peer' => \config('imap.verify_peer'), | 'verify_peer' => \config('imap.verify_peer'), | ||||
'verify_peer_name' => \config('imap.verify_name'), | 'verify_peer_name' => \config('imap.verify_peer'), | ||||
'cafile' => \config('imap.cafile'), | 'verify_host' => \config('imap.verify_host') | ||||
], | ], | ||||
], | ], | ||||
], | ], | ||||
]; | ]; | ||||
return $config; | return $config; | ||||
} | } | ||||
Show All 10 Lines |