Error sending mail on development environment
Closed this issue · 0 comments
egeldenhuys commented
This makes local development challenging. Is it possible to disable the emails in a config or flag?
Trace:
File "/home/evert/github/pinocchio/peer_review/view/userManagement.py" in create_user_send_otp
50. generate_otp_email(otp, user_name, user_surname, user_email, user_user_id)
File "/home/evert/github/pinocchio/peer_review/email.py" in generate_otp_email
34. send_mail(email_subject, email_text, 'pinocchio@cs.up.ac.za', [email], fail_silently=False)