Click here to Skip to main content
15,906,628 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

As per my client's new requirement, I need to implement the email sending functionality that should invoke an email in the users current default email client to pop up with the content & attachment selected on clicking a button in the web page. I referred the solution provided in code project article for desk top application. How can we modify this to use for Web applications.(We can keep the attachment files in the users computer). Is there any other way to open default email client window without using mailto: feature?

Thanks in advance.
Posted
Comments
Kim Togo 6-Apr-11 9:06am    
I do not think this is possible out-of-the box on in Windows. Perhaps a solution is to register a special link in Windows. Like "http:" goes to default Web browser and "itunes:" goes to iTunes program. Then create you own link like: "mymailto:" witch then open your special program that opens the default mail client? But still what about the attachment ?
Sandeep Mewara 6-Apr-11 15:15pm    
Is there any other way to open default email client window without using mailto: feature?
MailTo is the way for clients to raise the emailclient. Why not use it?
Renjith.K.C 7-Apr-11 1:15am    
Sandeep,outlook will not allow to add attachments using 'mailto', we need to add attachments as well.

1 solution

You ActiveX control that would allow you to do this with the user's permission. The article provides the coding you need. you need to wrap an activex around his code. you could then make the activex clickable and the click event would start the process.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900