Skip to content

Commit

Permalink
Add from email/name to command
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Oct 21, 2023
1 parent bb251a2 commit c2ae8c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/Bakery/DebugMailCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
namespace UserFrosting\Sprinkle\Core\Bakery;

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Helper\TableSeparator;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use UserFrosting\Bakery\WithSymfonyStyle;
Expand Down Expand Up @@ -53,6 +54,9 @@ protected function execute(InputInterface $input, OutputInterface $output)

// Display database info
$this->io->definitionList(
['From Email' => $this->config->get('address_book.admin.email')],
['From Name' => $this->config->get('address_book.admin.name')],
new TableSeparator(),
['MAILER' => $this->config->get('mail.mailer')],
['HOST' => $this->config->get('mail.host')],
['USERNAME' => $this->config->get('mail.username')],
Expand Down

0 comments on commit c2ae8c7

Please sign in to comment.