Build a mail message
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hello, i want to know if there is a class in the .net framework to parser an MailMessage to an string, i mean, take all its properties,headers,etc, and return an string with those values..something like...
System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage("< from >", "< to >", "< subject >", "< body >")); string commandToSend = Parser.Convert(message); Console.Write(commandToSend);
I need the string value because it will be send to a service for spam evaluation. Sorry for my bad english, its not my primary language. thanks.