Solved

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

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Outlook Free & Paid Tools
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Viewers will learn the different options available in the Backstage view in Excel 2013.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

744 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

14 Experts available now in Live!

Get 1:1 Help Now