How to Send an Email from Android Application without opening Gmail App?

  Рет қаралды 27,688

RunCodes

RunCodes

Күн бұрын

This Video will show you how you can send an email from your android application without opening gmail application.
Multi user login demo: • How to Create Multi Us...
bye bye findViewById: • bye bye findViewById()...
Forget Password system in android: • How to Create Complete...
Login attempt: • How to Create Login At...
Registration form using MySQL: • Create Registration an...
OTP in android: • How to Send OTP SMS Fo...
Insert Delete and Update in android: • How to Insert, Delete ...
Multiuser Login: • How to Create Multi Us...
Send Free SMS using Android: • How to Send Free SMS u...
QUIZ Apps in Android Part-1: • How to Create Quiz App...
QUIZ Apps in Android Part-2: • How to Create Quiz App...
QUIZ Apps in android part-3: • How to Create Quiz App...
Notification in android: • How to Create a Notifi...
Show alert box in android: • How to Display Alert D...
Create login and registration in android using sqlite database[First Part]: • Create Registration an...
Create login and registration in android using sqlite database[Second Part]: • Create Registration an...
Create login and registration in android using sqlite database[Third Part]: • Create Registration an...
Login form in android using Shared Preference: • How to Create Login fo...
Simple Login form in android: • How to Create Simple L...
send sms using android programming: • How to Send SMS using ...
Follow us on Social Media:
Facebook: RunCodesPage
Instagram: runcodes
Twitter: RunCodesTwit
This video is created by Ran and RunCodes own this video. Using of this video on other channels without prior permission will be strictly prohibited. (Embedding to the websites is allowed).. So stop copying and be a responsible people. #SendEmail #SendAndroidEmail #SendEmailWithoutOpeningGmail

Пікірлер: 105
@andrewbrower4158
@andrewbrower4158 3 жыл бұрын
This tutorial is excellent and helped me with a big part of my program. Thank you
@tomaspena9511
@tomaspena9511 2 жыл бұрын
Awesome tutorial! Thank you very much!
@rishabhk5821
@rishabhk5821 2 жыл бұрын
Thanks a lot. Was really helpful.
@marcooo3d
@marcooo3d 3 жыл бұрын
Excelente, Gracias!
@bonfaceosuka
@bonfaceosuka Жыл бұрын
Thank you so much for this tutorial
@Ashesh_Kumar
@Ashesh_Kumar 3 жыл бұрын
Thanks a lot!
@gta-servicesgta-services7396
@gta-servicesgta-services7396 3 жыл бұрын
It is very Good to explain 👍🏼 And my friend how can i add attachment ?
@noorullah5946
@noorullah5946 3 жыл бұрын
Thanks dear...it helps
@livymarilyn509
@livymarilyn509 2 жыл бұрын
very functional bro to send campaign emails.
@pazulasma6306
@pazulasma6306 2 жыл бұрын
Awesome, thanks!! a question, Is a security solution?
@moryf3969
@moryf3969 2 жыл бұрын
Appreciate it!
@espectactorteatro4028
@espectactorteatro4028 Жыл бұрын
Hello, I want to make an activity that allows: (sender)Fetch the user that is logged in. Have two fields to fill in (subject, message) send button. Fixed email (receiver). Can you help me)
@derkryptograf5597
@derkryptograf5597 2 жыл бұрын
Cannot resolve method 'getInstance' in 'Session' any help?
@zoruao.508
@zoruao.508 2 жыл бұрын
stops working at Session toast cant make it past that line app crashes i have checked the code a number of times its identical
@lubuntumleto5052
@lubuntumleto5052 2 жыл бұрын
Thank you good sir, very ditailed explanation, and code work properly. But anyone mention after 30th may 2022 google will remove less secure access for apps, and seems like it's the last 15th days from now...
@theunwrittenquote
@theunwrittenquote Жыл бұрын
google has trun of this setting . how can get access now?
@lubuntumleto5052
@lubuntumleto5052 Жыл бұрын
@@theunwrittenquote I suppose it's possible, but google like make more less accessible api with high security requirements
@theunwrittenquote
@theunwrittenquote Жыл бұрын
yeah now it's working with app password
@lubuntumleto5052
@lubuntumleto5052 Жыл бұрын
@@theunwrittenquote That interesting, must try it by myself, thanks
@glr2130
@glr2130 2 жыл бұрын
Great tutorial friend, mine just has an error that I can't fix, when you click send the application closes and doesn't send anything, can you help me?
@RunCodes
@RunCodes 2 жыл бұрын
Look the stack trace for error!
@Prasadcreation759
@Prasadcreation759 4 ай бұрын
​@@RunCodes ye jo I'd enter kroge uspe send hoga na
@faibukanfay
@faibukanfay 3 жыл бұрын
can you do it in kotlin?
@RunCodes
@RunCodes 3 жыл бұрын
do you like our work? does this tutorial help you? if so, you can support us at www.patreon.com/RunCodes
@brohigirlvlogs4302
@brohigirlvlogs4302 2 жыл бұрын
Can U please Answer Ny question please ????? It works on emulator but it gives Error On my phone ?? Why it is happening ??
@janphillipjuntado
@janphillipjuntado 2 жыл бұрын
Thanks it worked! shout out uwuuuuu
@programacionyalgoritmos6299
@programacionyalgoritmos6299 3 жыл бұрын
Hi nice tutorial, do you need to pay for the license to use in you ap or is free. Thank you 👍
@Becoder15604
@Becoder15604 Жыл бұрын
Dear sir hope you have a good start to the day, sir, I just follow your whole method it doesn't give any error but i press on send it close the app and in Gmail the option is not there it say this feature is now unavalible so i want ask it produce any problem if it produce so how the email is send when we doesn't week our security ...sir please help
@alfredabogado
@alfredabogado Жыл бұрын
this is also what happened to mine
@liftoffbeats4132
@liftoffbeats4132 3 жыл бұрын
do you have an idea if we can do authentification activity before sending an e mail
@RunCodes
@RunCodes 3 жыл бұрын
you can!
@abhishekranjan1094
@abhishekranjan1094 4 жыл бұрын
Bro my Android app is not connecting with phpmyadmin plz suggested me 🤒🤒🤒🤕
@hannahjung6954
@hannahjung6954 3 жыл бұрын
How can i send attachment also?
@differentgaming8378
@differentgaming8378 2 жыл бұрын
i did not understand the build gradle,in which implementation filetree ,jar files???,please help me
@RunCodes
@RunCodes 2 жыл бұрын
Watch video carefully!
@rohitpani9638
@rohitpani9638 2 жыл бұрын
Are the dependencies compatible with android 11...because its working in another phone with android version 6 but not working with android 11
@RunCodes
@RunCodes 2 жыл бұрын
Dont know, test yourself!
@ogibinedi
@ogibinedi 2 жыл бұрын
i think it's not save, put username and password inside the code, because someone can decompile your application
@w203mercedes-benz3
@w203mercedes-benz3 3 жыл бұрын
can I add multiple txt pads to my message? for example a plain text for name and a multiple line text for the message? how to do that? thank you for the video
@RunCodes
@RunCodes 3 жыл бұрын
sure, you can!
@w203mercedes-benz3
@w203mercedes-benz3 3 жыл бұрын
@@RunCodes so far al good but when i hit the send button i don't recieve any e-mail. i have made a contart form on a second activity but when i hit send the app just goed back to the main activity. Do you have ant ideas what could be wrong?
@w203mercedes-benz3
@w203mercedes-benz3 3 жыл бұрын
After checking with catlog i have got 1 fault code: E/libc: Access denied finding property "ro.serialno". Could this be the reason? How do i solve it
@RunCodes
@RunCodes 3 жыл бұрын
Import all library and watch complete video!
@w203mercedes-benz3
@w203mercedes-benz3 3 жыл бұрын
@@RunCodes i will look in to that. Thank you for your reply
@bonfaceosuka
@bonfaceosuka Жыл бұрын
Hey can you please send us the source codes for this aapp?
@dailybrunch1239
@dailybrunch1239 2 жыл бұрын
Can anyone please tell me how to do this using flutter ?
@eqa3ati
@eqa3ati Жыл бұрын
Today, I tried it, but unfortunately I did not receive any message in the mail! Does this indicate that Google has stopped unsafe applications? Please tell us what is the alternative
@RunCodes
@RunCodes Жыл бұрын
May be !
@MDALAMIN-pj3no
@MDALAMIN-pj3no 2 жыл бұрын
Where is source code? Pls share source code with us...thanks
@guevannybuco4861
@guevannybuco4861 Жыл бұрын
Sir what Gradle you use
@RunCodes
@RunCodes Жыл бұрын
Use latest gradle!
@Ikkin267
@Ikkin267 3 жыл бұрын
Hello sir, what is the password string? where could I find it
@RunCodes
@RunCodes 3 жыл бұрын
your email password!
@abdulhamidrpn
@abdulhamidrpn 2 жыл бұрын
Hello I'm unable to find this setting now. Google removed this setting. What should I do now?
@RunCodes
@RunCodes 2 жыл бұрын
May be they provide another ways!
@subhambikashbehera6793
@subhambikashbehera6793 3 жыл бұрын
Best tutorial i ever found
@subhambikashbehera6793
@subhambikashbehera6793 3 жыл бұрын
Sir i have some doubt about my project
@subhambikashbehera6793
@subhambikashbehera6793 3 жыл бұрын
Can i ask here?
@subhambikashbehera6793
@subhambikashbehera6793 3 жыл бұрын
I have some doubt , for my project can i contact you? Please sir please help me
@RunCodes
@RunCodes 3 жыл бұрын
Sure!
@subhambikashbehera6793
@subhambikashbehera6793 3 жыл бұрын
@@RunCodes 7749867465
@subhambikashbehera6793
@subhambikashbehera6793 3 жыл бұрын
My whatsapp number, please drop a message to me
@RunCodes
@RunCodes 3 жыл бұрын
contact us at facebook.com/TechSupportNep
@cleitonalves2875
@cleitonalves2875 2 жыл бұрын
Is it possible to attach any attached file?
@RunCodes
@RunCodes 2 жыл бұрын
May be!
@sahanadp123d3
@sahanadp123d3 2 жыл бұрын
Hii.. I'm getting an authentication failure exception can u help me?
@RunCodes
@RunCodes 2 жыл бұрын
Enter your gmail correct username and password
@harshsoni7450
@harshsoni7450 3 жыл бұрын
Source code?
@zeynepc
@zeynepc 2 жыл бұрын
I am getting error in this line: Transport.send(message); the error is: android.os.NetworkOnMainThreadException I can't fix it
@RunCodes
@RunCodes 2 жыл бұрын
Watch complete video we showed how to fix that error!
@abdullahsuliman9013
@abdullahsuliman9013 2 жыл бұрын
did u solve it ? if u do how because i have the same problem
@zeynepc
@zeynepc 2 жыл бұрын
​@@abdullahsuliman9013 I just saw your comment sorry. I use AsyncTask to solve it and My Android Studio was not updated i updated it. I don't know which one worked actually
@ETNewVideo
@ETNewVideo 3 жыл бұрын
Brother please provide Source Code
@achalmehra8014
@achalmehra8014 3 жыл бұрын
I have tried the same. there is no error however when i press send button it closes the app and comes to the home screen
@RunCodes
@RunCodes 3 жыл бұрын
May be you have not add library and you should have internet connection!
@achalmehra8014
@achalmehra8014 3 жыл бұрын
@@RunCodes Thank you. I got the issue. By mistake there was an typo while writing SMTP. I am able to send the emails now. However facing another issue when I am installing the app to another device , its not allowing to send email and app is crashing. However from my device I am able to send the email. I read in another article that google doesn't allow to send emails from multiple devices using custom built apps. Is there any way to avoid this
@mattiacaldognetto8110
@mattiacaldognetto8110 2 жыл бұрын
​ @achal mehra hi, I'm having the same error, can I please contact you to fix it?
@NguyenPhuTan-lv8we
@NguyenPhuTan-lv8we Жыл бұрын
Hi sir, i have a same issue, can you tell me how to fix it
@chandrashekharreddy6759
@chandrashekharreddy6759 2 жыл бұрын
can i attach file with this email
@RunCodes
@RunCodes 2 жыл бұрын
Sure!
@IntegShop9197
@IntegShop9197 Жыл бұрын
Does it safe to put your email and password in the code?
@RunCodes
@RunCodes Жыл бұрын
If you use for personal test!
@IntegShop9197
@IntegShop9197 Жыл бұрын
Thankyouuu but the less secure app was already disabled by Google in May 30
@IntegShop9197
@IntegShop9197 Жыл бұрын
I still manage to run it. You can make another tutorial by using 2 authenticator and make a default password for the application and use it in the code instead using your google account password.
@googleadmobaccount1759
@googleadmobaccount1759 3 жыл бұрын
bro app crash ho raha hai send btn per click karne per
@RunCodes
@RunCodes 3 жыл бұрын
You may forget to initialize the button!
@wwoda
@wwoda 2 жыл бұрын
Is it a security risk putting my own email password in at 8:16?
@RunCodes
@RunCodes 2 жыл бұрын
nope!
@wwoda
@wwoda 2 жыл бұрын
Thanks!
@tariqmahmood3120
@tariqmahmood3120 3 жыл бұрын
How can i use my own email and password? If i change username and passwords it do not send email.
@RunCodes
@RunCodes 3 жыл бұрын
Thats what we are showing!
@differentgaming8378
@differentgaming8378 2 жыл бұрын
get instance is not defining ..how?
@RunCodes
@RunCodes 2 жыл бұрын
Define it!
@differentgaming8378
@differentgaming8378 2 жыл бұрын
@@RunCodes how
@differentgaming8378
@differentgaming8378 2 жыл бұрын
@@RunCodes please solve the problem
@RunCodes
@RunCodes 2 жыл бұрын
Android studio intellisence have to told you where it should define! See error message and watch the complete tutorial!
@differentgaming8378
@differentgaming8378 2 жыл бұрын
@@RunCodes please tell me in detail, I cannot able to understand
@ramjiyadav3923
@ramjiyadav3923 2 жыл бұрын
not working! Very Mad
@theunwrittenquote
@theunwrittenquote Жыл бұрын
To make this feature work on 2023, you need to do some changes in your gradle(app) 1st change: android { packagingOptions { exclude 'META-INF/NOTICE.md' exclude 'META-INF/LICENSE.md'} } 2nd change: implementation 'com.sun.mail:android-mail:1.6.6' implementation 'com.sun.mail:android-activation:1.6.7'
@ebunajayi3195
@ebunajayi3195 Жыл бұрын
thank you so much!
@theunwrittenquote
@theunwrittenquote Жыл бұрын
@@ebunajayi3195 welcome😊
@GliderJPA
@GliderJPA 2 жыл бұрын
Session session = Session.getInstance() - Android studio cant find such a method please addvice
@RunCodes
@RunCodes 2 жыл бұрын
Import it!
How to send Email on Android using Java Intent
10:46
Codes Easy
Рет қаралды 9 М.
Flutter Tutorial - How To Send Email In Background | Without Backend
15:14
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 30 МЛН
Это реально работает?!
00:33
БРУНО
Рет қаралды 3,3 МЛН
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 10 МЛН
How to send email using Gmail API (uses OAuth2 and nodemailer)
17:55
How ChatGPT Built My App in Minutes 🤯
8:28
Website Learners
Рет қаралды 2,2 МЛН
What is an API and how does it work? (In plain English)
7:12
CodeWithChris
Рет қаралды 792 М.
Sending Email Using the Gmail API And Java
27:27
Sebastian Daschner
Рет қаралды 44 М.
How to send email using gmail SMTP server directly from your Android App?
17:59
Simple Login App | Android Studio | 2024
11:01
Easy Tuto
Рет қаралды 148 М.
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 3,4 МЛН
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 4,7 МЛН