Problem/Motivation
Warning: var_export does not handle circular references in reroute_email_mail_alter() (line 170 of modules/contrib/reroute_email/reroute_email.module).
reroute_email_mail_alter(Array, NULL, NULL) (Line: 539)
Drupal\Core\Extension\ModuleHandler->alter('mail', Array) (Line: 276)
Drupal\Core\Mail\MailManager->doMail('smtp', 'smtp-test', 'kenorb@example.com', 'en', Array, NULL, 1) (Line: 179)
Drupal\Core\Mail\MailManager->Drupal\Core\Mail\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 180)
Drupal\Core\Mail\MailManager->mail('smtp', 'smtp-test', 'kenorb@example.com', 'en', Array, NULL, 1) (Line: 70)
Drupal\mailsystem\MailsystemManager->mail('smtp', 'smtp-test', 'kenorb@example.com', 'en', Array) (Line: 470)
Drupal\smtp\Form\SMTPConfigForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 593)
Drupal\Core\Form\FormBuilder->processForm('smtp_admin_settings', Array, Object) (Line: 321)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 91)
Steps to reproduce
1. Enabled HTML Mail.
2. As admin, I've opened /admin/config/system/smtp
3. Typed my e-mail to 'E-mail address to send a test e-mail to' field.
4. Page doesn't finish loading and it errors with: 'PHP Fatal error: Maximum execution time of 60 seconds exceeded'.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes