Java program to send email using smtp

Download the project shown in youtube here, send_mail.rar Project Structure in Eclipse. This project uses jars activation-1.1.1.jaractivation-1.1.1.jar and mail-1.4.1.jar.mail-1.4.1.jar Send email using Gmail with Java program below Update the From email id,password and to email id with your email information. send_email_gmail.java package email; import java.util.*; import javax.mail.*; import javax.mail.PasswordAuthentication; import javax.mail.internet.*; public class send_email_gmail { …

Continue reading