Can I send an email in java to an account, and if I can, how can I do it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can I send an email in java to an account, and if I can, how can I do it?

1st Feb 2020, 11:17 AM
Solestebano
3 Answers
+ 4
Yes, you can. It's quite easy if you use a library. This is a tutorial where Maven is used to manage the dependency to the library, but you could as well download the jar and put it on the build path to use it. I don't know your learning level, so if you have further questions just ask. https://www.baeldung.com/java-email
1st Feb 2020, 7:45 PM
Tashi N
Tashi N - avatar
+ 5
Maven is a build/dependency management system. If you are not familiar with it, it's better to manually download the jar for now. https://javaee.github.io/javamail/
1st Feb 2020, 9:28 PM
Tashi N
Tashi N - avatar
+ 3
I am a beginner but I already have the bases of java, but I have no idea what Maven is.
1st Feb 2020, 9:23 PM
Solestebano