Change record status: 
Project: 
Introduced in branch: 
8.8.x
Introduced in version: 
8.8.0
Description: 

MailManagerInterface::mail() now allows the caller to override or disable to message shown in case of error. Use $params['_error_message'] to provide translatable markup to display as a message if an error occurs, or set this to false to disable error display.

  • Implementations of MailManagerInterface should be updated to obey the new parameter.
  • Callers of MailManagerInterface may choose to supply an improved error message specific to the situation.
Impacts: 
Module developers