Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Need something similar to mailto:

Posted on 2006-07-14
1
Medium Priority
?
300 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

618 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