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. Want Easy E-mail for automated process

Want Easy E-mail for automated process

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
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.
  • M Offline
    M Offline
    Mark Terrano
    wrote on last edited by
    #1

    What I'd like to do is send a simple text e-mail message using whatever default mail settings the user has already set up on their machine with an easy call like: CreateEmail("User@Somewhere","A Subject Here","Here is the important thing I wanted to send"); I'm writing an MFC app - and heck I can even assume Outlook or Outlook Express will be installed on the user machines if that makes the solution easier. W98, W2K or NT4 are the OS's I need to work with. :confused: What is the easy way to do this - if every virus kid in the world can figure it out, it has to be easier than using 40 lines to talk to MAPI or the other partial solutions /examples I've seen so far. Somewhere I think I must just not be looking for the right function call. Thanks! Mark Terrano

    R 1 Reply Last reply
    0
    • M Mark Terrano

      What I'd like to do is send a simple text e-mail message using whatever default mail settings the user has already set up on their machine with an easy call like: CreateEmail("User@Somewhere","A Subject Here","Here is the important thing I wanted to send"); I'm writing an MFC app - and heck I can even assume Outlook or Outlook Express will be installed on the user machines if that makes the solution easier. W98, W2K or NT4 are the OS's I need to work with. :confused: What is the easy way to do this - if every virus kid in the world can figure it out, it has to be easier than using 40 lines to talk to MAPI or the other partial solutions /examples I've seen so far. Somewhere I think I must just not be looking for the right function call. Thanks! Mark Terrano

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2

      Assuming that you know (or can get) the user's SMTP server name, and can assume that the user is connected to the internet, this article should suit your needs nicely. http://www.codeproject.com/internet/csmtpconn.asp /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

      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