Fix up email sending and add more notifications to the panel.
Closes #265
This commit is contained in:
parent
95171a3e41
commit
008cccb098
23 changed files with 489 additions and 122 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue