Skip to content

Commit

Permalink
Fix module path of send_email_smtp in configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
pradhanpk authored and bolkedebruin committed Apr 4, 2016
1 parent 5ab2567 commit 0bae60f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions airflow/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def run_command(command):
'flower_port': '5555'
},
'email': {
'email_backend': 'airflow.utils.send_email_smtp',
'email_backend': 'airflow.utils.email.send_email_smtp',
},
'smtp': {
'smtp_starttls': True,
Expand Down Expand Up @@ -242,11 +242,11 @@ def run_command(command):
filter_by_owner = False
[email]
email_backend = airflow.utils.send_email_smtp
email_backend = airflow.utils.email.send_email_smtp
[smtp]
# If you want airflow to send emails on retries, failure, and you want to
# the airflow.utils.send_email function, you have to configure an smtp
# the airflow.utils.email.send_email_smtp function, you have to configure an smtp
# server here
smtp_host = localhost
smtp_starttls = True
Expand Down Expand Up @@ -367,7 +367,7 @@ def run_command(command):
web_server_port = 8080
[email]
email_backend = airflow.utils.send_email_smtp
email_backend = airflow.utils.email.send_email_smtp
[smtp]
smtp_host = localhost
Expand Down

0 comments on commit 0bae60f

Please sign in to comment.