• Post Reply Bookmark Topic Watch Topic
  • New Topic

e-mail in java/jsp

 
mona anshita
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ..
in my project i have to create email facility.as i m new to jsp can anyone please tell me how to send email in java i mean about java mail.please cud u send me code for craeting java mail how to send and receive mail in jsp\java.
thank u in advance
waiting 4 ur reply
mona(anshita)
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mona anshita, JavaRanch is a community of people from all over the world, many of who are not native English speakers. While using abbreviations like "u" instead of spelling out "you" is convenient when text messaging your friends on a cell phone or in a chat room, it presents an extra challenge to those that are already struggling with English. Additionally, such shortcuts may confound automated translation tools that patrons of the Ranch may be making use of.

I would like to ask for your help in making the content of JavaRanch a little easier to read for everybody that visits here by not using such abbreviations.

Please read this for more information.

thanks,
bear
JavaRanch Sheriff
 
Kartik Lax
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This code should be easy to understand... it uses the Java Mail API.

-Hellkay
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Casper Maxwell
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try this example too:

Sending email via JSP
http://www.java-tips.org/java-ee-tips/javaserver-pages/sending-email-via-jsp.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!