Commits

Anonymous committed 009d206

passing tests

Comments (0)

Files changed (1)

flaskext/mail/connection.py

         self.mail = mail
         self.app = self.mail.app
         self.testing = self.app.testing
-        self.max_emails = max_emails or self.mail.max_emails
+        self.max_emails = max_emails or self.mail.max_emails or 0
 
     def __enter__(self):