You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.
When sending mails using the contrib.EmailNotifications package, the connection to the email backend is not being closed. Most EmailBackends will provide a fallback for this issue, but some don't.
In case of Django Naomi this results in the webbrowser not being opened to preview the created email.
Steps to reproduce:
Setup django forms
Choose django naomi as e-mail backend
Configure and send a form
No errors are thrown, but now browser will be opened too.
When sending mails using the
contrib.EmailNotifications
package, the connection to the email backend is not being closed. Most EmailBackends will provide a fallback for this issue, but some don't.In case of Django Naomi this results in the webbrowser not being opened to preview the created email.
Steps to reproduce:
No errors are thrown, but now browser will be opened too.
The connection is openened at:
aldryn-forms/aldryn_forms/contrib/email_notifications/cms_plugins.py
Line 173 in a53e751
The connection should be closed after this step:
aldryn-forms/aldryn_forms/contrib/email_notifications/cms_plugins.py
Line 195 in a53e751
More info on opening/closing connection:
https://docs.djangoproject.com/en/3.1/topics/email/#sending-multiple-emails
The text was updated successfully, but these errors were encountered: