Bài giảng môn lập trình mạng_Java Training Introduction to Java Mail
What is JavaMail? -2 To send JavaMail, you'll need to add at least two JAR file from Sun to your classpath (placing them in a lib directory may be a good idea) activation.jar mail.jar (Note: You can download these files from the Java Zone) For more complex emailing tasks (like receiving or managing pop3 or imap mail servers), you'll need to download additional files like pop3.jar and imap.jar. You will also need access to a mail server and possibly a username/password for that mail server