Problem/Motivation

After uninstalling the SMTP module and attempting an action that would send an email I am presented with a WSOD.

Steps to reproduce

Enable, configure and turn on SMTP Authentication.

Uninstall SMTP Authentication module.

Do something that will send an email.

Proposed resolution

It looks like after uninstalling the module the system.mail interface default setting is left as "SMTPMailSystem":

_core:
  default_config_hash: rYg34uhPafP2nga4_ZUPFuyI4KdE0zU468zLNSlzKoE
interface:
  default: SMTPMailSystem

and should be:

_core:
  default_config_hash: rYg34uhPafP2nga4_ZUPFuyI4KdE0zU468zLNSlzKoE
interface:
  default: php_mail

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork smtp-3310134

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

thisismax created an issue. See original summary.

thisismax’s picture

Issue summary: View changes

japerry made their first commit to this issue’s fork.

japerry’s picture

Status: Active » Needs review

The logic in the uninstall / disable function is a little odd. here is a patch/MR that should fix it.

japerry’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.