38 lines
612 B
PHP
38 lines
612 B
PHP
<?php
|
|
|
|
namespace App\Settings;
|
|
|
|
use Spatie\LaravelSettings\Settings;
|
|
|
|
class MailSettings extends Settings
|
|
{
|
|
public string $mail_host;
|
|
|
|
public int $mail_port;
|
|
|
|
public string $mail_username;
|
|
|
|
public string $mail_password;
|
|
|
|
public string $mail_encryption;
|
|
|
|
public string $mail_from_address;
|
|
|
|
public string $mail_from_name;
|
|
|
|
public string $mail_mailer;
|
|
|
|
public bool $mail_enabled;
|
|
|
|
public static function group(): string
|
|
{
|
|
return 'mail';
|
|
}
|
|
|
|
public static function encrypted(): array
|
|
{
|
|
return [
|
|
'mail_password'
|
|
];
|
|
}
|
|
} |