These are chat archives for allegro/ralph

26th
Jan 2017
kacuragi87
@kacuragi87
Jan 26 2017 05:30

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 :(

kacuragi87
@kacuragi87
Jan 26 2017 05:39
=\ sorry, i found my mistake
✪ vi4m Marcin Kliks
@vi4m
Jan 26 2017 06:16
what was it ? :-)
kacuragi87
@kacuragi87
Jan 26 2017 06:20
configuration was replaced to ralph/setting/prod.py =\
form global_settings
from*