How to send emails using Flutter? Trigger automatically using Firebase Extension and SendGrid API.
ฝัง
- เผยแพร่เมื่อ 5 ส.ค. 2024
- In this video, I show how to configure SendGrid API and Firebase Extension called 'Trigger Email' to automatically send emails using Flutter.
The emails can be used in shopping apps to confirm orders when a user successfully makes a purchase or to generally send emails using onPressed of a button.
Successfully purchase this T-Shirt that I am wearing using this link:
👕 amzn.to/3NscwrF
👕 amzn.to/40vxdpb
Timestamps:
0:00 Introduction
01:23 Configure SendGrid API
02:20 Configure Firebase Trigger Email Extension
02:59 Install the extension
03:09 Using the extension in code
03:21 Send Email function
03:55 Inside the onPressed of button
04:29 Thank you for watching!
Install the Trigger Email extension:
firebase.google.com/products/...
Note: To install an extension, your project must be on the Blaze plan.
SendGrid website: sendgrid.com/
----------------------------------------------------------------------------
I am Aditya Thakur, a 𝗙𝗹𝘂𝘁𝘁𝗲𝗿 𝗗𝗲𝘃𝗲𝗹𝗼𝗽𝗲𝗿 with experience in building Cross-Platform Applications for Android, iOS, and the Web.
🗣️ I have delivered sessions on Flutter for:
⚡ Google CrowdSource
⚡ GirlScript Pathankot
⚡ SidePath.in
⚡ LEADHERS of WAP
⚡ Innovators Quest (VIT Vellore)
Other than Flutter, I am proficient in Java and Python. I have also been an instructor for Object-Oriented programming in Java for S.P.A.R.K.S Initiators.
----------------------------------------------------------------------------
Become a part of my community!
Link to Discord/Telegram: linktr.ee/flutterdev
Join this channel to get access to perks:
/ @adityathakurxd
Connect with me on:
LinkedIn: / adityathakurxd
Instagram: / adityathakurxd
To configure extension, you need to fill in only 3 fields:
1) SMTP Connection URI
2) Email Documents collection, and
3) Default FROM address
For SMTP Connection URI, use API key details from SendGrid API:
smtps://apikey:@smtp.sendgrid.net:465
Your 'username' would be 'apikey'. Only replace the 'password' in hint text with your API Key and the above URI shall work!
You have cash app or a Patreon? I need to give you credit for sharing such a gem. Just giving respect where respect is due. Got to buy you a coffee or something!
Excellent information thank you
Nice dude🔥🔥🔥🔥
¡Gracias amigo!
🔥🔥🔥
how can I add dynamic templates links?
Is there a way by which you can send already written sms to more than 1 person automatically
Brother😻 that tshirt tho 🔥
{"errors":["Bad username / password"],"message":"error"} getting this error. I have set username = "apikey" and password = ""
got same error
I get this error trying to trigger my first email Error: Greeting never received
Apparently Trigger email isn't free, is it?
It isn't. Requires the Firebase - Blaze plan. I have mentioned it in the video too!