• 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 mail using jsp

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hai friend,
I am in need of the code for sending and receiving the mail in
jsp through OutlookExpress.
Thank you
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
simple... use the following code
<%= jsp:forward("mailto:someone@someid.com"); %>
 
bala chidambaram
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank u for ur response.Actually we are also in need of also receiving mail through "outlookExpress" using JSP.
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Read up on the JavaMail API.
What do you mean "read mail in OE from JSP"?
You can NOT control applications on the client machine from the application serve (and thus from a JSP).
You CAN send an email to yourself and retrieve that in OE using Javamail.
 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hai,
thank u, now i understood that the application(JSP) running on server can't control the application(OE) on client. am i right?. also i came to know that using 'javamail' we can also send mail directly. ur suggestions are welcome.
thank u,
bye.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, using the javamail api you can send emails and check the server for emails(from a jsp or an application).
The api has some very good examples on how to do it.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To have Java apps communicate with MS Exchange, check out the J-Integra product line:
http://j-integra.intrinsyc.com/j-integra/info/
reply
    Bookmark Topic Watch Topic
  • New Topic