Exception when not BCC
Closed this issue · 3 comments
androgeninc commented
Hi guys,
I'm getting the below exception. Seems like if you have no bcc it throws an exception. That seems odd? Am i understanding this correct?
flask_mail_sendgrid.py", line 78:
if message.bcc:
----Boilerplate code here----
else:
(78) raise Exception("unsupported type yet")
File "C:\Projects\WebsiteProjects\Flask\Project\venv\lib\site-packages\flask_mail_sendgrid.py", line 102, in send mail = self._make_sendgrid_mail(message)
File "C:\Projects\WebsiteProjects\Flask\Project\venv\lib\site-packages\flask_mail_sendgrid.py", line 78, in _make_sendgrid_mail raise Exception("unsupported type yet")
Exception: unsupported type yet
hamano commented
Sorry, I just revert 0.4 release. please use 0.3.
Thank you.
Leewaldoe commented
Sorry, my mistake. Making a pull request now.
androgeninc commented
Thanks, case closed.