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 =
Look! Styles and colors
This text is in Verdana and red
This text is in Times and green
This text is 30 pixels high
SolidworksSolidworks Pdm enterprise Pdm
Admin = userMgr.GetUser("Admin")
Admin.SendMsg(EmailHeader, BodyText)
Thanks
SolidworksSolidworks Pdm enterprise Pdm