See which of your colleagues or former colleagues are already on Java Link: Check out the Contact Finder
Java - General » JMS » How to Send mail by java program using gmail server

706 Views
  2 Replies

0
Vote Vote
How to Send mail by java program using gmail server
Share  
 Type: Professional, Report if fun topic
Sagar
Sagar Picture
16 Posts
back to top
Posted 16-04-2010Reply

How to Send mail by java program using gmail server

Mahi
Mahi Picture
47 Posts
back to top
  Rated 0 | Posted 07-05-2010

Iam not sure but we need gmail mail server ip address and port num required.

Namrata
Namrata Picture
1 Posts
back to top
  Rated 0 | Posted 21-12-2010

you just need to set the mail server properties with



System.setProperty("Mail.smtp.host","smtp.gmail.com");
System.setProperty("Mail.smtp.port","25");

0
Vote Vote
Share  
 Type: Professional, please report if fun topic

Recent Activity in Forums

05-04-2012.
05-04-2012.
Kanchana posted a new forum topic in
27-02-2012.
11-02-2012.
Kanchana posted a new forum topic in
11-02-2012.