• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to send Email

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I want to send mail throgh my jsp page.For that i am display all the records to user but when user click on email hyperlink then mail shoulod send through using SMTP protocol.please anybody can tell me how to send this because i am new in java.Instead of using class we can use the JAVA mailing API in our program.
Please give me the source code of this so that i can use this in my project.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Two things:

1) Sending mail under Java control is done through the JavaMail API which is not a part of JSP. As such this post has been moved to a more approriate forum.

2) You wrote:

Please give me the source code of this so that i can use this in my project.



That is not the prupose of JavaRanch. JavaRanch is a learning site where you can come to get some great help wiriting your code. It is not a place to come and get others to write your code for you.

So, look up the JavaMail API and let us know of any problems you may have using it in your own code.
 
reply
    Bookmark Topic Watch Topic
  • New Topic