mail_managers
Send a message to the managers, as defined by the MANAGERS setting.
def mail_managers(
subject: string,
message: string,
fail_silently: boolean = False,
connection: object = None,
html_message: string = None,
using: string = None
) - > None
Send a message to the managers, as defined by the MANAGERS setting.
Parameters
| Name | Type | Description |
|---|---|---|
| subject | string | The subject line for the email message. |
| message | string | The plain-text body of the email message. |
| fail_silently | boolean = False | If True, suppresses exceptions raised during the email sending process. |
| connection | object = None | An optional email backend instance to use for sending the message. |
| html_message | string = None | An optional HTML-formatted version of the message body. |
| using | string = None | The name of the email alias to use for sending the message. |
Returns
| Type | Description |
|---|---|
None | Returns nothing; the function sends an email via the configured mail backend. |