Solved

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

Posted on 2012-04-03
3
1,530 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

Outlook Free & Paid Tools
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
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…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now