Click here to Skip to main content
15,896,726 members
Please Sign up or sign in to vote.
2.60/5 (2 votes)
See more:
Hai Everyone
Actually my need is if clike button in web site it will open outlook window with add all fields like to address,subject,file attachment, from address automatically appear when create profile in outlook so dont brother from address, i will write code for outlook and work in local drive ,if i publish in iis(server) it not work,it give some permission error.

u can visit this page http://www.telerik.com/help/windows-8-html/chart-donut-series.html[^] at the bottom if u click on documentation@telerik.com link ,it open outlook same like i want,it open outlook window and user click send button in outlook.
pls reply me

Note:u try in iis not in local drive,local drive it work
Posted
Updated 29-Jun-13 7:11am
v4
Comments
Zoltán Zörgő 29-Jun-13 16:31pm    
just a question: what if the client has no outlook installed?

1 solution

You use the MAILTO tag.

<a href="mailto:documentation%40telerik.com?Subject=RadControls for Windows 8" id="HT_MailLink">documentation@telerik.com</a>
 
Share this answer
 
Comments
Aravindba 29-Jun-13 13:17pm    
Thank for ur reply .This one is work when website in server(i mean iis) and how attach file ?
This one open outlook ?
Mike Meinz 29-Jun-13 13:34pm    
ASP .NET code running on the server cannot access Outlook running on the client. If it could, that would be a security weakness.

You could try writing a JavaScript script that runs on the client. See Need help on starting an Outlook Email from webapp with file attachment

You haven't clearly expressed the business problem so it is difficult to give you a quality answer. Where is the file to be attached (Client or Server)? Why does it have to be emailed by the client via Outlook? Could the server email it using SMTP?

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