mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Fix up email sending and add more notifications to the panel.
Closes #265
This commit is contained in:
@@ -36,6 +36,7 @@ class UpdateEmailSettings extends Command
|
||||
protected $signature = 'pterodactyl:mail
|
||||
{--driver=}
|
||||
{--email=}
|
||||
{--from-name=}
|
||||
{--host=}
|
||||
{--port=}
|
||||
{--username=}
|
||||
@@ -137,6 +138,7 @@ class UpdateEmailSettings extends Command
|
||||
}
|
||||
|
||||
$variables['MAIL_FROM'] = is_null($this->option('email')) ? $this->ask('Email address emails should originate from') : $this->option('email');
|
||||
$variables['MAIL_FROM_NAME'] = is_null($this->option('from-name')) ? $this->ask('Name emails should appear to be from') : $this->option('from-name');
|
||||
$variables['MAIL_ENCRYPTION'] = 'tls';
|
||||
|
||||
$bar = $this->output->createProgressBar(count($variables));
|
||||
|
||||
Reference in New Issue
Block a user