Commits

Anonymous committed 1198f3c Merge

moving to version 6.0

Comments (0)

Files changed (9)

flask_mail.egg-info/PKG-INFO

-Metadata-Version: 1.0
-Name: flask-mail
-Version: 0.3.1
-Summary: Flask extension for sending email
-Home-page: http://bitbucket.org/danjac/flask-mail
-Author: Dan Jacob
-Author-email: danjac354@gmail.com
-License: BSD
-Description: 
-        flask-mail
-        ----------
-        
-        A Flask extension for sending email. 
-        
-        
-Platform: any
-Classifier: Development Status :: 4 - Beta
-Classifier: Environment :: Web Environment
-Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: BSD License
-Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python
-Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
-Classifier: Topic :: Software Development :: Libraries :: Python Modules

flask_mail.egg-info/SOURCES.txt

-LICENSE
-MANIFEST.in
-README
-setup.py
-tests.py
-docs/Makefile
-docs/conf.py
-docs/index.rst
-docs/make.bat
-docs/_static/flask-mail.jpg
-docs/_static/flask-mail.png
-docs/_themes/README
-docs/_themes/flask_theme_support.py
-docs/_themes/flask/theme.conf
-docs/_themes/flask/static/flasky.css_t
-docs/_themes/flask_small/layout.html
-docs/_themes/flask_small/theme.conf
-docs/_themes/flask_small/static/flasky.css_t
-docs/output/.buildinfo
-docs/output/genindex.html
-docs/output/index.html
-docs/output/objects.inv
-docs/output/output.zip
-docs/output/py-modindex.html
-docs/output/search.html
-docs/output/searchindex.js
-docs/output/.doctrees/environment.pickle
-docs/output/.doctrees/index.doctree
-docs/output/_sources/index.txt
-docs/output/_static/basic.css
-docs/output/_static/doctools.js
-docs/output/_static/file.png
-docs/output/_static/flask-mail.jpg
-docs/output/_static/flask-mail.png
-docs/output/_static/flasky.css
-docs/output/_static/jquery.js
-docs/output/_static/minus.png
-docs/output/_static/plus.png
-docs/output/_static/pygments.css
-docs/output/_static/searchtools.js
-docs/output/_static/underscore.js
-flask_mail.egg-info/PKG-INFO
-flask_mail.egg-info/SOURCES.txt
-flask_mail.egg-info/dependency_links.txt
-flask_mail.egg-info/namespace_packages.txt
-flask_mail.egg-info/not-zip-safe
-flask_mail.egg-info/requires.txt
-flask_mail.egg-info/top_level.txt
-flaskext/__init__.py
-flaskext/mail.py

flask_mail.egg-info/dependency_links.txt

-

flask_mail.egg-info/namespace_packages.txt

-flaskext

flask_mail.egg-info/not-zip-safe

-

flask_mail.egg-info/requires.txt

-Flask
-Lamson

flask_mail.egg-info/top_level.txt

-flaskext

flaskext/mail/connection.py

 
         if self.host:
             self.host.sendmail(message.sender,
-                               message.recipients,
+                               message.send_to,
                                str(message.get_response()))
-        
 
         if email_dispatched:
             email_dispatched.send(message, app=self.app)

flaskext/mail/message.py

 
         self.attachments = attachments
 
+    @property
+    def send_to(self):
+        return set(self.recipients) | set(self.bcc or ()) | set(self.cc or ())
+
     def get_response(self):
         """
         Creates a Lamson MailResponse instance