mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Support disabling mail encryption #1244
This commit is contained in:
parent
5bae89dcbd
commit
c26ad690a1
@ -45,7 +45,8 @@
|
|||||||
->value(isset($_ENV['MAIL_HOST']) ? $_ENV['MAIL_HOST'] : '') !!}
|
->value(isset($_ENV['MAIL_HOST']) ? $_ENV['MAIL_HOST'] : '') !!}
|
||||||
{!! Former::text('mail[port]')->label('Port')
|
{!! Former::text('mail[port]')->label('Port')
|
||||||
->value(isset($_ENV['MAIL_PORT']) ? $_ENV['MAIL_PORT'] : '587') !!}
|
->value(isset($_ENV['MAIL_PORT']) ? $_ENV['MAIL_PORT'] : '587') !!}
|
||||||
{!! Former::select('mail[encryption]')->label('Encryption')->options(['tls' => 'TLS', 'ssl' => 'SSL'])
|
{!! Former::select('mail[encryption]')->label('Encryption')
|
||||||
|
->options(['tls' => 'TLS', 'ssl' => 'SSL', '' => 'None'])
|
||||||
->value(isset($_ENV['MAIL_ENCRYPTION']) ? $_ENV['MAIL_ENCRYPTION'] : 'tls') !!}
|
->value(isset($_ENV['MAIL_ENCRYPTION']) ? $_ENV['MAIL_ENCRYPTION'] : 'tls') !!}
|
||||||
{!! Former::password('mail[password]')->label('Password')
|
{!! Former::password('mail[password]')->label('Password')
|
||||||
->value(isset($_ENV['MAIL_PASSWORD']) ? $_ENV['MAIL_PASSWORD'] : '') !!}
|
->value(isset($_ENV['MAIL_PASSWORD']) ? $_ENV['MAIL_PASSWORD'] : '') !!}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user