Send Email Using AWS SES service With Python AWS Lambda

  Рет қаралды 14,249

Cloud Quick Labs

Cloud Quick Labs

2 жыл бұрын

===================================================================
1. SUBSCRIBE FOR MORE LEARNING :
/ @cloudquicklabs
===================================================================
2. CLOUD QUICK LABS - CHANNEL MEMBERSHIP FOR MORE BENEFITS :
/ @cloudquicklabs
===================================================================
3. BUY ME A COFFEE AS A TOKEN OF APPRECIATION :
www.buymeacoffee.com/cloudqui...
===================================================================
This video shows how to use AWS SES (Simple Email Service) with using python boto3 module.
It shows how to use it from VSCode and from AWS Python Lambda to send email to a valid email inbox (verified at AWS SES Email list).
:Code Repo: github.com/RekhuGopal/PythonH...
github.com/RekhuGopal/PythonH...

Пікірлер: 42
@shovan3112
@shovan3112 2 жыл бұрын
It is really very details explanation with all the points so clearly covered. Thanks for sharing and keep up the good work. God bless you.
@cloudquicklabs
@cloudquicklabs 2 жыл бұрын
Thank you for amazing word.. Keep watching and keep learning.
@tangled55
@tangled55 4 ай бұрын
This was PERFECT. THANK YOU!
@cloudquicklabs
@cloudquicklabs 4 ай бұрын
Thank you for watching my videos. Glad that it helped you.
@kumargks
@kumargks 2 жыл бұрын
Very good explanation.. keep it up
@cloudquicklabs
@cloudquicklabs 2 жыл бұрын
Thank you for watching my videos. And thank you very much for encouraging word, so kind of you. Keep watching and keep learning.
@armandosepulveda-subto1892
@armandosepulveda-subto1892 2 жыл бұрын
Thank you so much! Just a quick question, I noticed that you set the variable CHARSET but you don't use it. It should be used like the code below, right? Or should we just avoid including it? Message={ 'Body': { 'Html': { 'Charset': 'UTF-8', 'Data': BODY_HTML, },
@cloudquicklabs
@cloudquicklabs 2 жыл бұрын
Thank you for watching my videos. Yes it should be there, as it is syntax and must parameter of SES boto3 API 'send_email'.
@vasunurukurthi5624
@vasunurukurthi5624 2 жыл бұрын
Good one 👍
@cloudquicklabs
@cloudquicklabs 2 жыл бұрын
Thank you for watching my videos.
@vasunurukurthi5624
@vasunurukurthi5624 2 жыл бұрын
@@cloudquicklabs your keeping such a great content to help others.. Thanks for your videos
@cloudquicklabs
@cloudquicklabs 2 жыл бұрын
Thank you very much, that was son kind of you. 👏
@3ycalkj
@3ycalkj Жыл бұрын
thanks for tutorial. How do you make the email body dynamic based on a query/response for e.g. dynamo db ?
@cloudquicklabs
@cloudquicklabs Жыл бұрын
Thank you for watching my videos. Its possible to do it. Once you have response you need to extract the data from that put it in SES body (which will be html format) or you could directly add it in there if you dont care of html formatting. You would be using same file as I mentioned in videos description.
@3ycalkj
@3ycalkj Жыл бұрын
@@cloudquicklabs wow thanks for the quick reply
@DC7-official
@DC7-official Жыл бұрын
Thank you for the video but i am facing one issue that i have added lambda stage in code pipeline but lambda stage taking 15min to complete and failing after that saying putjobsuccess is missing but i am receving mail .. not sure how to use it with codepipeline
@cloudquicklabs
@cloudquicklabs Жыл бұрын
Thank you for watching my videos. There should be some issues with your code Pipeline, may I know which tool you are using. And I need to know how are coding this to send email, so I can help you.
@XuXu-ee1xb
@XuXu-ee1xb 2 жыл бұрын
Hi How can I call the lambda function in local instead of using aws console? thanks!
@cloudquicklabs
@cloudquicklabs 2 жыл бұрын
Thank you for watching my videos. There two ways that you can invoke lambda apart from console. 1. Using AWS CLI. 2. Using AWS boto3 module boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda.html#Lambda.Client.invoke
@ddhananjayrao3296
@ddhananjayrao3296 2 жыл бұрын
Hi how can we change the recipient with API gateway..
@cloudquicklabs
@cloudquicklabs 2 жыл бұрын
Thank you for watching my videos. Did you get a time check the post on exact requirements medium.com/geekculture/sending-emails-using-aws-ses-lambda-and-api-gateway-ec59f5d5045d
@moonwalkingdancer8369
@moonwalkingdancer8369 Жыл бұрын
Any idea How to send daily reports to user by mail using ses and lamda??
@cloudquicklabs
@cloudquicklabs Жыл бұрын
Thank you for watching my videos. We can do that, please stay tuned I shall create new video on it soon.
@cheemsbhaiya2634
@cheemsbhaiya2634 11 ай бұрын
I'm getting error user is not authorised to perform this action. How I can fix it?
@cloudquicklabs
@cloudquicklabs 11 ай бұрын
Thank you for watching my videos. Please check IAM role permission attached to AWS Lambda. And also check trust has right configurations. Do reffer the documents attached in video description.
@pacoluna7969
@pacoluna7969 Жыл бұрын
Hi! You know how can automate the emails in different hours each day?
@cloudquicklabs
@cloudquicklabs Жыл бұрын
Thank you for watching my videos. Yes we can do that with using Single lambda.
@pacoluna7969
@pacoluna7969 Жыл бұрын
@@cloudquicklabs Thanks, I will look into it. I'm trying to send emails to my users when they decide.
@cloudquicklabs
@cloudquicklabs Жыл бұрын
Thank you for reaching on this, my channel membership is meant to help you if you require, please have a look at it if needed
@user-zx6bd5iz9e
@user-zx6bd5iz9e 11 ай бұрын
how many emails can you send with this method a day ?
@cloudquicklabs
@cloudquicklabs 11 ай бұрын
Thank you for watching my videos. Limit applies to whatever you have set in service quota service. Please check the same.
@nini79812
@nini79812 Жыл бұрын
Is it possible to send it by service bot account?
@cloudquicklabs
@cloudquicklabs Жыл бұрын
Thank you for watching my videos. When you say service bot account do you mean IAM role? Could you please elaborate
@nini79812
@nini79812 Жыл бұрын
@@cloudquicklabs yes Iam role ,I have created one policy now how to integrate in my cide
@cloudquicklabs
@cloudquicklabs Жыл бұрын
Thank you for coming back on this. You need to use the same at AWS Lambda to execute SES APIs to send emails.
@nini79812
@nini79812 Жыл бұрын
@@cloudquicklabs Thank you but I am running it through a cron job ,so I have defined the ses.send email policy in Iam.yaml file now how to call it in my python script
@cloudquicklabs
@cloudquicklabs Жыл бұрын
Thank you for watching my videos. Looks like you are creating Required IAM role, Lambda, using cloud formation stack.. So for this you need deploy it first.
Send emails with Django and Amazon SES
37:41
Cloud With Django
Рет қаралды 8 М.
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 113 МЛН
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 10 МЛН
ТЫ С ДРУГОМ В ДЕТСТВЕ😂#shorts
01:00
BATEK_OFFICIAL
Рет қаралды 6 МЛН
DynamoDB Python GET | PUT | DELETE | SCAN | QUERY Boto3 Tutorial
12:17
How to Send Emails with Python [New Method 2023]
11:16
The PyCoach
Рет қаралды 184 М.
SNS: How to configure SNS service with Email  ||  Subscribe SNS topic With Email #sns #awscloud
8:53
Avinashkumar - The Learning Destination
Рет қаралды 9 М.
Send Email through Static Website hosted in AWS S3
18:40
Ускоряем ваш TV🚀
0:44
ARTEM_CHIBA
Рет қаралды 464 М.
Сколько реально стоит ПК Величайшего?
0:37
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
Ba Travel Smart Phone Charger
0:42
Tech Official
Рет қаралды 1,2 МЛН