Comments on: How to Send an Email with Attachment in Python using AWS Boto? https://w3lessons.info/send-email-attachment-python-aws-boto-ses Tutorials on PHP, jQuery & Amazon Web Services Thu, 04 Mar 2021 16:58:21 +0000 hourly 1 https://wordpress.org/?v=6.6.2 By: Perry https://w3lessons.info/send-email-attachment-python-aws-boto-ses#comment-51254 Thu, 04 Mar 2021 16:58:21 +0000 https://w3lessons.info/?p=4073#comment-51254 In reply to Perry.

I take back the last quibble, re-read the code!

]]>
By: Perry https://w3lessons.info/send-email-attachment-python-aws-boto-ses#comment-51252 Thu, 04 Mar 2021 16:55:48 +0000 https://w3lessons.info/?p=4073#comment-51252 `txt = AttachementData.read()`
Should be a new line here.

Why do you define `destinations` and not use it in the boto call?
You specify specific boto exceptions in your import statements and you don’t use them,
in your try/catch. Instead of e, don’t you think you should have `except botocore.exeception.ClientError as e:`?

]]>
By: Deepak https://w3lessons.info/send-email-attachment-python-aws-boto-ses#comment-24456 Tue, 31 Dec 2019 07:40:55 +0000 https://w3lessons.info/?p=4073#comment-24456 Adding attachment from the remote url.. wow.. nice stuff

]]>