Posts Under 'JavaMail'

Send Simple HTML email with JavaMail

Send Simple HTML email with JavaMail The JavaMail API provides a platform-independent and protocol-independent framework to build mail and messaging applications. This one is the simple program which can be used to send email with JAVA. import javax.mail.*; import javax.mail.internet.*; import java.util.Properties; class SimpleHTMLMail { public static void main(String[] args) throws Exception{ System.out.println("Sending mail…"); Properties […]

Read more »