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. Web Development
  3. How to open default mail client with attachment in web application

How to open default mail client with attachment in web application

Scheduled Pinned Locked Moved Web Development
tutorial
4 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.
  • S Offline
    S Offline
    SachinKumar M
    wrote on last edited by
    #1

    I want open default mail client with attachment from web page.

    A 1 Reply Last reply
    0
    • S SachinKumar M

      I want open default mail client with attachment from web page.

      A Offline
      A Offline
      Ashfield
      wrote on last edited by
      #2

      There is no official way to attach files using "mailto" protocol. Most likely because of the security reasons. However some email clients do accept the attachment parameter with the file in quotes i.e. attachment="C:\fileName.txt" such as outlook 98.

      Bob Ashfield Consultants Ltd

      S 1 Reply Last reply
      0
      • A Ashfield

        There is no official way to attach files using "mailto" protocol. Most likely because of the security reasons. However some email clients do accept the attachment parameter with the file in quotes i.e. attachment="C:\fileName.txt" such as outlook 98.

        Bob Ashfield Consultants Ltd

        S Offline
        S Offline
        SachinKumar M
        wrote on last edited by
        #3

        i tried with attachment="C:\fileName.txt", but it is not working. how to specify file path. any other method to attach a file.

        A 1 Reply Last reply
        0
        • S SachinKumar M

          i tried with attachment="C:\fileName.txt", but it is not working. how to specify file path. any other method to attach a file.

          A Offline
          A Offline
          Ashfield
          wrote on last edited by
          #4

          Basically you can't, and as it depends on the email client, you have no idea what they are using - outloook, eudora etc etc

          Bob Ashfield Consultants Ltd

          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