Solved

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

Posted on 2012-04-03
3
1,558 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
  • 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
 
LVL 41

Expert Comment

by:pcelba
ID: 37802641
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
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…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

810 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