Skip to content

Commit

Permalink
address PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
evemartin committed May 2, 2024
1 parent bb4341c commit a76828f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cfl_common/common/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def send_dotdigital_email(
"""
# pylint: enable=line-too-long

# Dotdigital emails don't work locally, so if testing emails locally use Django to send a dummy email instead
if MODULE_NAME == "local":
django_send_email(from_address, to_addresses, "dummy_subject", "dummy_text_content", "dummy_title")
else:
Expand Down

0 comments on commit a76828f

Please sign in to comment.