How to send Email on Android using Java Intent

Поделиться
HTML-код
  • Опубликовано: 23 фев 2023
  • In this video we are going to see how we could send email using any mailing application present on the device from our application. Basically we will be entering the email from our app and sending it through the other app like gmail, etc. Easy and fast implementation to send email in android useful to collect feedback, support contact option, contact us option etc.
    Download Source Code: youtube.codeseasy.com/downloads
    For Doubts (ask it here) ###
    Discord: / discord
    Whatsapp group: whatsappgroup.codeseasy.com
    ########################
    For Business Queries ###
    Contact us for any business queries:
    Email: mail@codeseasy.com
    Phone number: +918281536333
    WhatsApp: whatsapp.codeseasy.com
    #########################
    Find us on Social Media:
    Website: www.codeseasy.com
    Telegram: t.me/CodesEasyOfficial
    Facebook: / codeseasy
    Instagram: / codeseasy
    Twitter: / codeseasyblog

Комментарии • 16

  • @A_M_A_N794
    @A_M_A_N794 9 месяцев назад +1

    Thanks a lot sir ❤

  • @13deshmukhayaancoa93
    @13deshmukhayaancoa93 Месяц назад

    is it possible to make a program of receiving an email message,like you receive a toast message when someone sends you an email ?

  • @user-ql2ep2hg2f
    @user-ql2ep2hg2f 10 месяцев назад +1

    in the if else part you have used &&. would'nt it be || since all the fileds are required?
    please clarify my doubt.

    • @CodesEasy
      @CodesEasy  10 месяцев назад

      I don't understand the exact context, but I will explain the difference between and & or
      And - means you need both the conductions to be true, then only it will execute the statement inside.
      Or - if any one of the condition is correct the statement inside will be executed

    • @user-ql2ep2hg2f
      @user-ql2ep2hg2f 10 месяцев назад

      @@CodesEasy I get it..but here since all the fields are required as mentioned in the toast, implementing with condition "and" would only work when all of the fields are empty. It would not work for other conditions. In order to achieve not null condition of all the fileds we should implement "or" condition. Just a little observation. Otherwise the video is very insightful. 😃

  • @adalbertofranco7144
    @adalbertofranco7144 Год назад +1

    Can you help me? I can only send it through outlook, the gmail option did not appear, do you know what it could be?

    • @CodesEasy
      @CodesEasy  Год назад

      You can also specifically open any app using it's package name

  • @eonnisworld3542
    @eonnisworld3542 Год назад +1

    Can i send this to all the peoples in database

    • @CodesEasy
      @CodesEasy  Год назад

      This is using android intent to send email. I would recommend you to use SMTP to send email like you said.

  • @bhanuteja_04
    @bhanuteja_04 Год назад +1

    Could you explain line 37

    • @CodesEasy
      @CodesEasy  Год назад

      Line 37 keeps changing through out the video. Which part are you asking

    • @bhanuteja_04
      @bhanuteja_04 Год назад +1

      @@CodesEasy intent.setType("message/rfc88");

    • @CodesEasy
      @CodesEasy  Год назад

      MIME type

  • @LifeandLiving55835
    @LifeandLiving55835 7 месяцев назад +1

    Working or not working

    • @CodesEasy
      @CodesEasy  7 месяцев назад

      100% working only. It's just an intent to send an email. This basically opens other email apps to send mail