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

ความคิดเห็น • 14

  • @AdityaThakurXD
    @AdityaThakurXD  3 ปีที่แล้ว +4

    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!

  • @whitenos
    @whitenos 3 ปีที่แล้ว +3

    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!

  • @sradhawebcreations
    @sradhawebcreations 3 ปีที่แล้ว

    Excellent information thank you

  • @vivekraj9740
    @vivekraj9740 3 ปีที่แล้ว

    Nice dude🔥🔥🔥🔥

  • @ggaltar
    @ggaltar ปีที่แล้ว

    ¡Gracias amigo!

  • @Bakasta170
    @Bakasta170 3 ปีที่แล้ว

    🔥🔥🔥

  • @bhavukarora8842
    @bhavukarora8842 ปีที่แล้ว

    how can I add dynamic templates links?

  • @092kunaldutt3
    @092kunaldutt3 2 ปีที่แล้ว

    Is there a way by which you can send already written sms to more than 1 person automatically

  • @vanshwalia6944
    @vanshwalia6944 3 ปีที่แล้ว

    Brother😻 that tshirt tho 🔥

  • @faizafarooqui6435
    @faizafarooqui6435 11 หลายเดือนก่อน +1

    {"errors":["Bad username / password"],"message":"error"} getting this error. I have set username = "apikey" and password = ""

    • @meixie540
      @meixie540 6 หลายเดือนก่อน

      got same error

  • @rvb6516
    @rvb6516 3 ปีที่แล้ว

    I get this error trying to trigger my first email Error: Greeting never received

  • @FantasticDevelopment
    @FantasticDevelopment ปีที่แล้ว

    Apparently Trigger email isn't free, is it?

    • @AdityaThakurXD
      @AdityaThakurXD  ปีที่แล้ว

      It isn't. Requires the Firebase - Blaze plan. I have mentioned it in the video too!