PDA

Click to See Complete Forum and Search --> : MAPI messages in HTML format?


Dec 12th, 1999, 10:00 PM
Does anyone know if it's possible to send emails using the MAPI control in HTML format? If not, is it possible using WinSock and where can I get information about this?

What I know so far is that a line like 'Content-Type: text/html; charset=us-ascii' must be present in the email header in order for the receiving program to interpret it as HTML, but so far as I can see the MAPI controls have no option to enable me to do this.

Regards

Nick

Johannes Schade
Jun 25th, 2000, 05:59 PM
I also have this problem. I wanted to use HTML to get more control over the layout of the email (eg Tables). I use MAPI and Outlook Express. I believe that the text that you assign to MsgNoteText is transmitted as HTML, however, if I assign an HTML as string to the NsgNotetext:

Me.MAPIMessages1.MsgNoteText = "<!DOCTYPE HTML PUBLIC ..."

It just gets wrapped once more into HTML and the text that the recipient gets reads <!DOCTYPE HTML PUBLIC ...". Is there any way how to tell MAPI or Outlook express that the message is already in HTML?