By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,945 Members | 1,703 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,945 IT Pros & Developers. It's quick & easy.

Send email with attachment

P: 11
Hi, I want to send email with attachment by using activex for IE.
I would like to add an element such as <img> or <canvas> which is on my page. How can I do that? here is some code.
Expand|Select|Wrap|Line Numbers
  1. var img = canvas.toDataURL("image/png");
  2. var objO = new ActiveXObject('Outlook.Application');     
  3. mItm.Attachments.Add(); // should add img??
  4.  
Thanks for your helps..
Apr 10 '13 #1
Share this Question
Share on Google+
6 Replies


Dormilich
Expert Mod 5K+
P: 8,639
and what if the user does not use IE?
Apr 10 '13 #2

P: 11
Most users will be using IE and for minority I will advice to attach manually.
Apr 10 '13 #3

Dormilich
Expert Mod 5K+
P: 8,639
I’m not sure, where you got that from. see http://en.wikipedia.org/wiki/Usage_s...f_web_browsers.

besides, what if the user does not have Outlook?
Apr 10 '13 #4

P: 11
I meant my target users mostly use IE and have outlook. That is why I am trying to do that.
Apr 10 '13 #5

Dormilich
Expert Mod 5K+
P: 8,639
maybe the MSDN page could help: http://msdn.microsoft.com/en-us/libr...ice.11%29.aspx
Apr 11 '13 #6

P: 11
Thank you for your help.
Apr 11 '13 #7

Post your reply

Sign in to post your reply or Sign up for a free account.