I am using your Rebex Mail and have some problems creating an alternateview and add it to the message. The htmlbody is simple html and comes from a richedit-control. When i try this by using Net.Mail objects its working fine:
Dim view As Net.Mail.AlternateView = Net.Mail.AlternateView.CreateAlternateViewFromString(htmlBody, Encoding.UTF8, MediaTypeNames.Text.Html)
The Rebex.Mail.AlternateView does not have an "CreateAlternateViewFromString"-method so i try it this way:
Dim view As New Rebex.Mail.AlternateView(htmlBody, MediaTypeNames.Text.Html)
but always get an error, something like "illegal char found in the path".
Maybe the missing encoding-info is the problem? Would be nice if someone has an idea about this.