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...
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'
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)
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
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
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 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?
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.
@@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
@@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
This tutorial is excellent and helped me with a big part of my program. Thank you
Awesome tutorial! Thank you very much!
Thanks a lot. Was really helpful.
very functional bro to send campaign emails.
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?
Look the stack trace for error!
@@RunCodes ye jo I'd enter kroge uspe send hoga na
Thank you so much for this tutorial
Awesome, thanks!!
a question, Is a security solution?
It is very Good to explain 👍🏼
And my friend how can i add attachment ?
Thanks dear...it helps
Excelente, Gracias!
Thanks a lot!
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...
google has trun of this setting . how can get access now?
@@theunwrittenquote I suppose it's possible, but google like make more less accessible api with high security requirements
yeah now it's working with app password
@@theunwrittenquote That interesting, must try it by myself, thanks
can you do it in kotlin?
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'
thank you so much!
@@ebunajayi3195 welcome😊
Appreciate it!
Thanks it worked! shout out uwuuuuu
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)
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
this is also what happened to mine
i did not understand the build gradle,in which implementation filetree ,jar files???,please help me
Watch video carefully!
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
May be !
stops working at Session toast cant make it past that line app crashes
i have checked the code a number of times its identical
Hello sir, what is the password string? where could I find it
your email password!
Cannot resolve method 'getInstance' in 'Session' any help?
Hi nice tutorial, do you need to pay for the license to use in you ap or is free. Thank you 👍
do you have an idea if we can do authentification activity before sending an e mail
you can!
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
sure, you can!
@@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?
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
Import all library and watch complete video!
@@RunCodes i will look in to that. Thank you for your reply
i think it's not save, put username and password inside the code, because someone can decompile your application
Does it safe to put your email and password in the code?
If you use for personal test!
Thankyouuu but the less secure app was already disabled by Google in May 30
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.
Are the dependencies compatible with android 11...because its working in another phone with android version 6 but not working with android 11
Dont know, test yourself!
Best tutorial i ever found
Sir i have some doubt about my project
Can i ask here?
do you like our work?
does this tutorial help you?
if so, you can support us at www.patreon.com/RunCodes
Can U please Answer Ny question please ????? It works on emulator but it gives Error On my phone ?? Why it is happening ??
Hello I'm unable to find this setting now. Google removed this setting. What should I do now?
May be they provide another ways!
I am getting error in this line: Transport.send(message);
the error is: android.os.NetworkOnMainThreadException
I can't fix it
Watch complete video we showed how to fix that error!
did u solve it ?
if u do how because i have the same problem
@@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
Bro my Android app is not connecting with phpmyadmin plz suggested me 🤒🤒🤒🤕
Sir what Gradle you use
Use latest gradle!
Is it a security risk putting my own email password in at 8:16?
nope!
Thanks!
Hey can you please send us the source codes for this aapp?
I have some doubt , for my project can i contact you?
Please sir please help me
Sure!
@@RunCodes 7749867465
My whatsapp number, please drop a message to me
contact us at facebook.com/TechSupportNep
Source code?
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
May be you have not add library and you should have internet connection!
@@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
@achal mehra hi, I'm having the same error, can I please contact you to fix it?
Hi sir, i have a same issue, can you tell me how to fix it
Is it possible to attach any attached file?
May be!
How can i send attachment also?
Can anyone please tell me how to do this using flutter ?
Where is source code? Pls share source code with us...thanks
Hii.. I'm getting an authentication failure exception can u help me?
Enter your gmail correct username and password
Brother please provide Source Code
bro app crash ho raha hai send btn per click karne per
You may forget to initialize the button!
can i attach file with this email
Sure!
get instance is not defining ..how?
Define it!
@@RunCodes how
@@RunCodes please solve the problem
Android studio intellisence have to told you where it should define! See error message and watch the complete tutorial!
@@RunCodes please tell me in detail, I cannot able to understand
not working! Very Mad
How can i use my own email and password? If i change username and passwords it do not send email.
Thats what we are showing!
Session session = Session.getInstance() - Android studio cant find such a method please addvice
Import it!