Browse Source

send_mail: Fixed typo EMAIL_USER, EMAIL_PASSWORD -> EMAIL_HOST_*

Ask Solem 14 years ago
parent
commit
35b9f5fc82
1 changed files with 2 additions and 2 deletions
  1. 2 2
      celery/app/base.py

+ 2 - 2
celery/app/base.py

@@ -225,8 +225,8 @@ class BaseApp(object):
                                 to=to, sender=self.conf.SERVER_EMAIL,
                                 host=self.conf.EMAIL_HOST,
                                 port=self.conf.EMAIL_PORT,
-                                user=self.conf.EMAIL_USER,
-                                password=self.conf.EMAIL_PASSWORD)
+                                user=self.conf.EMAIL_HOST_USER,
+                                password=self.conf.EMAIL_HOST_PASSWORD)
 
     def either(self, default_key, *values):
         """Fallback to the value of a configuration key if none of the