Java Swing Application for Sending E-Mail - StudyViral
April 25, 2018 Java Mail API, Java Swing, Sending Email 3 comments
Java Swing Application for Sending E-Mail - StudyViral
Hello Friends
Welcome to StudyViraL Channel
In this video I am going to show you
To Send Email From Java Swing Application
In This video i am using GMAIL
Step - 1
You may Face Problem in Sending email
To avoid any problem please create a NEW GMAIL Account
without linking to Mobile Number
Step - 2
Download Required JAR files
--> mail.jar
From This jar file You need to import following Class/AbstractClass
Keep The variable names of Following Components
jTextField1 as txtTOEmail
jTextField2 as txtToFrom
jTextField3 as txtSubject
jTextArea1 as jTextArea1
jButton1 as jButton1
Now Create ActionEvent on jBotton1
Code For jButton1 (Send E-Mail)
Hello Friends
Welcome to StudyViraL Channel
In this video I am going to show you
To Send Email From Java Swing Application
In This video i am using GMAIL
Step - 1
You may Face Problem in Sending email
To avoid any problem please create a NEW GMAIL Account
without linking to Mobile Number
Step - 2
Download Required JAR files
--> mail.jar
From This jar file You need to import following Class/AbstractClass
Keep The variable names of Following Components
jTextField1 as txtTOEmail
jTextField2 as txtToFrom
jTextField3 as txtSubject
jTextArea1 as jTextArea1
jButton1 as jButton1
Code For jButton1 (Send E-Mail)