Changes between Version 1 and Version 2 of Ticket #35118, comment 5
- Timestamp:
- Jan 17, 2024, 4:49:15 AM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35118, comment 5
v1 v2 11 11 12 12 {{{ 13 from django.conf import settings 13 14 from django.core import mail 14 15 from django.core.mail.backends.smtp import EmailBackend … … 19 20 "Subject here", 20 21 "Here is the message.", 21 "from@example.com",22 [ "to@example.com"],22 settings.EMAIL_HOST_USER, 23 [settings.EMAIL_HOST_USER], 23 24 fail_silently=False, 25 26 # Assumes email-related settings - user/password/host/port - are defined in settings 24 27 connection=EmailBackend() # comment out to pass test 25 28 )