src/EventListener/ConfigurationNoticesListener.php
protected function mailConfigCheck()
    {
        if (!$this->app['config']->get('general/mailoptions') && $this->app['users']->getCurrentuser() && $this->app['users']->isAllowed('files:config')) {
            $notice = json_encode([
                'severity' => 1,
                'notice'   => 'The <strong>mail configuration parameters</strong> have not been set up. This may interfere with password resets, and extension functionality. Please set up the <code>mailoptions</code> in <code>config.yml</code>.',
            ]);
            $this->app['logger.flash']->configuration($notice);
        }
    }
protected function mailConfigCheck()
    {
        if (!$this->app['config']->get('general/mailoptions') && $this->app['users']->getCurrentuser() && $this->app['users']->isAllowed('files:config')) {
            $notice = json_encode([
                'severity' => 1,
                'notice'   => 'The <strong>mail configuration parameters</strong> have not been set up. This may interfere with password resets, and extension functionality. Please set up the <code>mailoptions</code> in <code>config.yml</code>.',
            ]);
            $this->app['logger.flash']->configuration($notice);
        }
    }
protected function mailConfigCheck ( ) { if ( ! $ this -> app [ 'config' ] -> get ( 'general/mailoptions' ) && $ this -> app [ 'users' ] -> getCurrentuser ( ) && $ this -> app [ 'users' ] -> isAllowed ( 'files:config' ) ) { $ notice = json_encode ( [ 'severity' => 1 , 'notice' => 'The <strong>mail configuration parameters</strong> have not been set up. This may interfere with password resets, and extension functionality. Please set up the <code>mailoptions</code> in <code>config.yml</code>.' , ] ) ; $ this -> app [ 'logger.flash' ] -> configuration ( $ notice ) ; } }
No mail transport has been set. We should gently nudge the user to set
the mail configuration.

@see https://github.com/bolt/bolt/issues/2908
No mail transport has been set . We should gently nudge the user to set the mail configuration .