protected function stopCollectingMailSystemMail() {
    if (\Drupal::moduleHandler()->moduleExists('mailsystem')) {
      \Drupal::configFactory()->getEditable('mailsystem.settings')->setData($this->originalConfiguration['mailsystem.settings'])->save();
    }
  }
protected function stopCollectingMailSystemMail() {
    if (\Drupal::moduleHandler()->moduleExists('mailsystem')) {
      \Drupal::configFactory()->getEditable('mailsystem.settings')->setData($this->originalConfiguration['mailsystem.settings'])->save();
    }
  }
protected function stopCollectingMailSystemMail ( ) { if ( \ Drupal :: moduleHandler ( ) -> moduleExists ( 'mailsystem' ) ) { \ Drupal :: configFactory ( ) -> getEditable ( 'mailsystem.settings' ) -> setData ( $ this -> originalConfiguration [ 'mailsystem.settings' ] ) -> save ( ) ; } }
If the Mail System module is enabled, stop collecting those mails.
If the Mail System module is enabled stop collecting those mails .