Send email with attachment

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ahmetsan
    New Member
    • Jan 2013
    • 11

    Send email with attachment

    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.
    Code:
    var img = canvas.toDataURL("image/png");
    var objO = new ActiveXObject('Outlook.Application');     
    mItm.Attachments.Add(); // should add img??
    Thanks for your helps..
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    and what if the user does not use IE?

    Comment

    • ahmetsan
      New Member
      • Jan 2013
      • 11

      #3
      Most users will be using IE and for minority I will advice to attach manually.

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        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?

        Comment

        • ahmetsan
          New Member
          • Jan 2013
          • 11

          #5
          I meant my target users mostly use IE and have outlook. That is why I am trying to do that.

          Comment

          • Dormilich
            Recognized Expert Expert
            • Aug 2008
            • 8694

            #6
            maybe the MSDN page could help: http://msdn.microsoft.com/en-us/libr...ice.11%29.aspx

            Comment

            • ahmetsan
              New Member
              • Jan 2013
              • 11

              #7
              Thank you for your help.

              Comment

              Working...