Solved

How can I send e-mails in html format using the MAPI Control

Posted on 2012-04-03
3
1,651 Views
Last Modified: 2012-08-14
How can I send e-mails in html format using the MAPI Control?
I have used .msgtype="Text/HTML" bat it doesnt work!
I'm able to open an e.mail with object attachment and name  address, but I have a great problem with the text. Independently by MsgType value, the e-mail is opened in normal text format, and the text that I assign to MsgNoteText has problem of new line in spite of the pair of carriage return and newline that I use.
0
Comment
Question by:systematica
[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
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
CaptainCyril earned 500 total points
ID: 37800788
Microsoft says that MAPI does not suport HTML format:

http://forums.devx.com/archive/index.php/t-62620.html
http://stackoverflow.com/questions/673519/send-email-in-html-format
http://support.microsoft.com/kb/268440

"Extended Messaging Application Programming Interface (MAPI) should not be used to generate HTML-formatted messages. As an alternative, consider using the Microsoft Outlook Object Model, CDONTS, CDOSYS, CDOEX, or a third-party SMTP control."
0
 
LVL 27

Expert Comment

by:CaptainCyril
ID: 37800790
I personally use a Linux server and have FoxPro communicate with it using PHP to send emails and I get to control everything.
0

Featured Post

Technology Partners: 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

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Mailbox Overload?
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

705 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