illegal character in path error [modified]
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
string body = ""; body += ""; body += " this is some HTML text"; body += " "; AlternateView alternate = new AlternateView(body, MediaTypeNames.Text.Html); message.AlternateViews.Add(alternate);
I'm trying to send an email with html format but I get "illegal character in path error" when I create the alternative object. I get this code from the .NET Framework Class Library, can somebody help me please? I tried to create an html string myself but the errore is the same. thanks a lot -- modified at 9:38 Monday 17th July, 2006