Skip to content

Commit

Permalink
fixed a bug with environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir Montazer authored and Amir Montazer committed Dec 8, 2015
1 parent ed57862 commit 22ccc11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Citco/Mailer/MailerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public function register()
$mailer->log_addr = array(config('mailer.log_address'), config('mailer.log_name'));
$mailer->developer_addr = array(config('mailer.dev_address'), config('mailer.dev_name'));
$mailer->return_path = config('mailer.return_path');
$mailer->environment = $app->environment();

// Here we will determine if the mailer should be in "pretend" mode for this
// environment, which will simply write out e-mail to the logs instead of
Expand Down

0 comments on commit 22ccc11

Please sign in to comment.