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. Calling Outlook Express

Calling Outlook Express

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
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.
  • D Offline
    D Offline
    doctorpi
    wrote on last edited by
    #1

    Hi guys, there is an easy way from C++ to make the same as when in a web page you click on a button an a New Mail (from outlook express) appears with a preselected adress on it? Do you know an example of this? Thanks and Merry Christmas.

    D 1 Reply Last reply
    0
    • D doctorpi

      Hi guys, there is an easy way from C++ to make the same as when in a web page you click on a button an a New Mail (from outlook express) appears with a preselected adress on it? Do you know an example of this? Thanks and Merry Christmas.

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      doctorpi wrote:

      Hi guys, there is an easy way from C++ to make the same as when in a web page you click on a button an a New Mail (from outlook express) appears with a preselected adress on it?

      ShellExecute(hWnd, "open", "mailto:doctor@pi.com", ...);


      "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

      "Judge not by the eye but by the heart." - Native American Proverb

      D 1 Reply Last reply
      0
      • D David Crow

        doctorpi wrote:

        Hi guys, there is an easy way from C++ to make the same as when in a web page you click on a button an a New Mail (from outlook express) appears with a preselected adress on it?

        ShellExecute(hWnd, "open", "mailto:doctor@pi.com", ...);


        "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

        "Judge not by the eye but by the heart." - Native American Proverb

        D Offline
        D Offline
        doctorpi
        wrote on last edited by
        #3

        Thanks a lot. mailto doesn't admit attachments?

        D 1 Reply Last reply
        0
        • D doctorpi

          Thanks a lot. mailto doesn't admit attachments?

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          doctorpi wrote:

          mailto doesn't admit attachments?

          It's not required per the protocol's standard, but some vendors have implemented it. If you must have it, you'll need to implement a MAPI solution where you have total control over everything. See these past discussions: http://www.codeproject.com/script/comments/forums.asp?msg=1139182&forumid=1647&XtraIDs=1647&stype=1#xx1139182xx[^] http://www.codeproject.com/script/comments/forums.asp?msg=1176661&forumid=1647&XtraIDs=1647&stype=1#xx1176661xx[^] http://www.codeproject.com/script/comments/forums.asp?msg=1437914&forumid=1647&XtraIDs=1647&stype=1#xx1437914xx[^] http://www.codeproject.com/script/comments/forums.asp?msg=1032018&forumid=1647&XtraIDs=1647&stype=1#xx1032018xx[^] http://www.codeproject.com/script/comments/forums.asp?msg=1012524&forumid=1647&XtraIDs=1647&stype=1#xx1012524xx[^]

          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