mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-05 07:20:58 +08:00
fix torrent edit and send email
This commit is contained in:
@@ -329,7 +329,8 @@ class ToolRepository extends BaseRepository
|
||||
}
|
||||
// Create the Transport
|
||||
$transport = $factory->create(new Dsn(
|
||||
$encryption === 'tls' ? (($smtp['smtpport'] == 465) ? 'smtps' : 'smtp') : '',
|
||||
// $encryption === 'tls' ? (($smtp['smtpport'] == 465) ? 'smtps' : 'smtp') : '',
|
||||
$smtp['smtpport'] == 465 && in_array($encryption, ['ssl', 'tls']) ? 'smtps' : 'smtp',
|
||||
$smtp['smtpaddress'],
|
||||
$smtp['accountname'] ?? null,
|
||||
$smtp['accountpassword'] ?? null,
|
||||
|
||||
Reference in New Issue
Block a user