Hi,
I've a segment of code which combines the HTML signature from Outlook into an email settings (Code below).
However, when the string contains accentuated characters (ie, é), the emails sent through the .NET Mail objects replace them with the "?" character. Is there anyway to retain the accentuated characters, or at least convert them to their unaccentuated equilavent?
Cheers
<br />
If Not mailMsg.IsBodyHtml Then<br />
htmlMailComposed = "<body>" & Replace(Replace(Replace(Replace(Replace(mailMsg.Body, "<", "<"), ">", ">"), vbCrLf, "<br>"), vbCr, "<br>"), vbLf, "<br>") & htmlMailOutput & "</body>"<br />
mailMsg.IsBodyHtml = True<br />
mailMsg.Body = htmlMailComposed<br />
Else<br />
mailMsg.Body = Replace(mailMsg.Body, "</body>", htmlMailOutput & "</body>", , , CompareMethod.Text)<br />
End If<br />
</br></br></br>