?
Solved

Need something similar to mailto:

Posted on 2006-07-14
1
Medium Priority
?
285 Views
Last Modified: 2012-06-21
Hi there

I need to be able to email from my webapp, but there is a catch. I need greater functioanlity than the mailto: command, but still do what it does.

I have tried some of the jsp email apps, they work fine, but what my client has requested is that the still send the messages from their outlook so as to keep a record of their send items in their personal folders.

So what i need to be able to do is send an email from my applcation with the email address, subject automatically entered into my outlook (just like mailto does) along with the body of the email (which could be quite long, therefore mailto wouldnt suffice) Also i would also like to be able to add attachements automatically if this is possible.

Any ideas??
0
Comment
Question by:AndriesKeun
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 29

Accepted Solution

by:
bloodredsun earned 500 total points
ID: 17110529
The basic answer is you can't. The mailto command requires the presence of a client mail program which you cannot guarantee. If the user doesn't have Outlook or has set it up so that it does not respond to mailto, then you are out of luck. And there are various shortfalls of the command as you have noticed.

The advanced answer is you do it yourself. Using a basic email servlet or something similar to this http://javaalmanac.com/egs/javax.mail/SendApp.html you send an email to the destination but also to the user who is sending the email. Therefore they have arecord of the email. This also allows complete control of the subject, email body and any email attachments.

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month15 days, 7 hours left to enroll

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question