Can someone please help me with the correct method of sending HTML formatted email via IEdmUserMgr5.SendMsg. Below is my code. The message is sent but all the formatting (font, color, size, and line spacing) is removed. I wrote this in Visual Basic 2010 Express and it is built in .Net 3.5.
Dim Vault As IEdmVault5
Vault = New EdmVault5
Dim userMgr As IEdmUserMgr5 = Vault
Dim Admin As IEdmUser5
Dim BodyText As String = ""
Dim EmailHeader As String = ""
Vault.Login("UserName", "UserPassword", "VaultName")
EmailHeader = "This is the header text."
BodyText = <html>
<body style="background-color:PowderBlue;"><h1>Look! Styles and colors</h1>
<p style="font-family:verdana;color:red;">This text is in Verdana and red</p>
<p style="font-family:times;color:green;">This text is in Times and green</p>
<p style="font-size:30px;">This text is 30 pixels high</p>
Admin = userMgr.GetUser("Admin")