Quantcast
Channel: Zeeshan Akhter » message
Viewing all articles
Browse latest Browse all 3

How do you send email from a Java app using Gmail?Solved

$
0
0
This is what I do when i want to send email with attachment, work fine. :) public class NewClass {     public static void main(String[] args) {         try {             Properties props = System.getProperties();             props.put("mail.smtp.starttls.enable", "true");       […]

Viewing all articles
Browse latest Browse all 3

Trending Articles