Good day! I tried add email notification and have some trouble...
Use local SMTP based on Postfix service
Add
from django.core.mail import EmailMessage
and
msg = EmailMessage('Test subj', 'Test text', 'Ralph notify ralph@local', ['email@company.name'])
msg.send()
and i receive error - please run connect() first... however, this code in new django project from shell successfully sending email :(