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. HowTo Launch email client with attachment

HowTo Launch email client with attachment

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpvisual-studiocom
3 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.
  • R Offline
    R Offline
    Robert Palma Jr
    wrote on last edited by
    #1

    I am using Visual Studio 6.0. I would like to use ShellExecute{} to launch the registered email client and include a specific file as an attachment to that email. I don't want to include the 'To' email address in the ShellExecute() call. From Nishant's excellent article i have a starting point: ShellExecute(this->m_hWnd,"open", "mailto:nishinapp@yahoo.com","","", SW_SHOW ); How do I NOT include the email address but DO include a file for attachment? Thanks a lot, :) Robert

    J 1 Reply Last reply
    0
    • R Robert Palma Jr

      I am using Visual Studio 6.0. I would like to use ShellExecute{} to launch the registered email client and include a specific file as an attachment to that email. I don't want to include the 'To' email address in the ShellExecute() call. From Nishant's excellent article i have a starting point: ShellExecute(this->m_hWnd,"open", "mailto:nishinapp@yahoo.com","","", SW_SHOW ); How do I NOT include the email address but DO include a file for attachment? Thanks a lot, :) Robert

      J Offline
      J Offline
      James R Twine
      wrote on last edited by
      #2

      I do not think that you can, you may have to use MAPI (look up "Simple MAPI" in MSDN).    Peace! -=- James


      If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
      Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
      DeleteFXPFiles & CheckFavorites (Please rate this post!)

      R 1 Reply Last reply
      0
      • J James R Twine

        I do not think that you can, you may have to use MAPI (look up "Simple MAPI" in MSDN).    Peace! -=- James


        If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
        Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
        DeleteFXPFiles & CheckFavorites (Please rate this post!)

        R Offline
        R Offline
        Robert Palma Jr
        wrote on last edited by
        #3

        Thanks James. I'm slugging through MSDN - one of my least favorite ways of finding info :-(

        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