Solved

How to HTML Email using Simple MAPI Interface

Posted on 2004-08-02
11
366 Views
Last Modified: 2010-04-01
I have C++ Simple MAPI routines for sending emails.  This works well for straight text emails.  I have prepared a HMTL body for emailing but do not know how to flag the fact that the body is HTML to the client when using Simple MAPI.

Can this be done with Simple MAPI ?

If it can't be done using Simple MAPI how is it done using an alternative.
Let's start with Extended MAPI before moving on to something super sophisticated.
Try to keep it simple.  I'm only looking at sending a single email body with simple HTML.

Thanks.
0
Comment
Question by:PSernz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
11 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11700033
This information is related to your problem:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;268440
0
 
LVL 86

Expert Comment

by:jkr
ID: 11700041
That should be possible - chekc the samples at http://www.codeproject.com/internet/#MAPI
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11700126
As far as I know, it is not possible with Simple MAPI. You can use Extended MAPI with Outlook.

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:PSernz
ID: 11700201
Thanks guys but I'm still looking for a solution.
Jaime suggests its a problem with Simple MAPI but gives not alternative.
Jkr suggests its possible but I see no example at the referenced site.

Any further assistance out there...
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11700252
>Jaime suggests its a problem with Simple MAPI but gives not alternative.
>You can use Extended MAPI with Outlook.
This is an alternative, but you can't ask for an impossible.

Your question is:
"Can this be done with Simple MAPI ?"

The correct answer is:
No, you can't.
0
 

Author Comment

by:PSernz
ID: 11700971
Jaime,  I'm not looking for the impossible.  If it can't be done with Simple MAPI that's fine.  Do you have any references for Extended MAPI as requested in the question.  Also I assume that if I use Extended MAPI I can't use Outlook Express.  This could be an issue.  Any other suggestions.  Peter
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 11705131
>Also I assume that if I use Extended MAPI I can't use Outlook Express
That's right.

>Do you have any references for Extended MAPI as requested in the question
You have to read MAPI (not Simple MAPI) documentation in MSDN:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/exchanchor/htms/msexchsvr_mapi.asp
Also read this page with lots of source code:
http://www.wischik.com/lu/programmer/mapi_utils.html

Notice "extended MAPI" is not the official name, just MAPI.
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11925949
Recently I have found this article at Codproject.com:

http://www.codeproject.com/dialog/keystroke.asp  ("Keystroke engine")

Also you can read:

http://www.codeproject.com/cpp/sendkeys_cpp_Article.asp ("Senkeys in C++")

Good luck,
Jaime.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cross compile release version of c++ program for linux 2 145
How can i compile this github project?? 2 101
Android development question 2 107
keep track of class structure 1 52
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question