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

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.
Who is Participating?
CaptainCyrilConnect With a Mentor Founder, Software Engineer, Data ScientistCommented:
Microsoft says that MAPI does not suport HTML format:

"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."
CaptainCyrilFounder, Software Engineer, Data ScientistCommented:
I personally use a Linux server and have FoxPro communicate with it using PHP to send emails and I get to control everything.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.