Is there any way to add attachment in outlook through javascript? I am able to send mail using "mailto" , but it does not provide the option for attachment. I can do this by server side coding, but i want it to be in client side. So, is there any way to do so?
Asked
Active
Viewed 1,599 times
1 Answers
0
You may consider automating Outlook, see Compose and Send E-mail from JavaScript by using Outlook Automation 2007 for more information. Note, it will work only from Internet Explorer.
In general, I'd recommend using another options such as sending email from a web-server where you can make a web API call and upload the file which should be attached. See How to send mail with attachment using JS? for possible options.

Community
- 1
- 1

Eugene Astafiev
- 47,483
- 3
- 24
- 45
-
Thank u ... Actually i cant use activex . This is a constraint... any other solution? – user2971714 Feb 02 '16 at 02:42