Bookmark Topic Watch Topic
  • New Topic

is there a way to call Microsoft outlook from an applet?  RSS feed

 
shiva reddy
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Report post to moderator
I know this is quite odd, but i just want to know if there are any hacks to call microsoft outlook from java applet. We have an applet application and we would like to use microsoft outlook to send mails from application.
thanks
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Um just noticed your topic is regarding Applets? Is this an Applet question or a Servlet question?
Below is my response to a Servlet question. From an Applet, I am even more clueless, and maybe we should move this post to the Applet forum.
This may sound weird, but I don't think you have to have your application "Call" Outlook.
If your mail server is a Microsoft Mail Server then any code in your Servlet, or better yet a seperate "Helper" class for your servlet, will automatically use this server to send the e-mails.
All this is without actually having done this, but in my assumptions on e-mailing, this is how it ends up working.
You will use the Message and Service/Transport classes in the javax.mail package. When you use the Service class, you will provide host, port, user_id, password. This will be the host and port of your mail server.
Hope that helps.
Mark
[ August 26, 2003: Message edited by: Mark Spritzler ]
[ August 26, 2003: Message edited by: Mark Spritzler ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Ahh, actually this is a cross post. Please refrain from cross posting. cross posting is asking the same question in more than one forum.
Obviously this question is in regards to Applets. So it belongs there, and since there is already one there from you, I am going to close this one.
Mark
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!