Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Hyper link help, please

Hyper link help, please

Scheduled Pinned Locked Moved C / C++ / MFC
comtoolsxmlhelptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Paul Belikian
    wrote on last edited by
    #1

    Can anyone tell me if it's possible to link a file to a email via a hyperlink control? I'm writing a utility for some of our customers and would like to include a link for them to click on that sends an email with a data file back to us. I'm basically looking for the syntax to use if it exists. For example, there is also a link for feature requests, and the syntax I'm using for that is: mailto:PaulBelikian@SomeCompay.com?subject=feature Request is there another keyword I can use to attach a file to the email also? something like: mailto:PaulBelikian@SomeCompay.com?subject=Data file upload?Attachment=C:\CustomerFile.XML Any help would be appreciated.

    S 1 Reply Last reply
    0
    • P Paul Belikian

      Can anyone tell me if it's possible to link a file to a email via a hyperlink control? I'm writing a utility for some of our customers and would like to include a link for them to click on that sends an email with a data file back to us. I'm basically looking for the syntax to use if it exists. For example, there is also a link for feature requests, and the syntax I'm using for that is: mailto:PaulBelikian@SomeCompay.com?subject=feature Request is there another keyword I can use to attach a file to the email also? something like: mailto:PaulBelikian@SomeCompay.com?subject=Data file upload?Attachment=C:\CustomerFile.XML Any help would be appreciated.

      S Offline
      S Offline
      Steve Mayfield
      wrote on last edited by
      #2

      I haven't seen anything in the mailto syntax that supports that - Attachments are usually MIME encoded at part of the body and not the header. RFC-2368[^] does describe a "body" section, but it is plain-text, follows the keyword and most non alpha numeric characters must be encoded (i.e. space is represented by %20) Steve

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups