Tag Archive: Javamail

Email Using JavaMail

JavaMail, a technology from Java allows programmers to develop code that can send emails whether in plain text or HTML. Here’s a short easy code to send email to a recipient. public static boolean send(String replyTo, String from_email, String to_email, String subject, String body, String type) { boolean sent = false; try { Properties prop…

Continue Reading »