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