I am attempting to parse the e-mail subject in which the format itself specifies encoding I get the format and Imagine how this can be done, but it is possible that no one can get free Net solution is already available, so I will not waste time on it?
Here is an example of the subject that I want to parse:
=? ISO-8859-13? Why? FWD = 3a diVira = E8iai_vasar = E0_vagiami_da = FEniau = 2C_bet_draust? =
A great way to parse the entire mentioned wire and the whole mail in general Library found -
It can not match the POP3 server itself (I use OpenPop.Net for it) but it parsely passes better than OpenPop.NET parser
var popclnt = new pop client (); PopClient.Connect ("pop.test.lt", 110, Incorrect); PopClient.Authenticate ("test@test.lt", "test"); // Get the OpenPop.Net message var messageInfo = popClient.GetMessage (1, wrong); // Cooper Raw Message String Stream and SharpMimeTools Library var Messagebits = Encoding. Make an example of SharpMessage from ASCII.GetBytes (rawMessage); Var messagestream = new memorystream (messageback); Var Message = New Fast Message (Messagestream); // Get the decoded message and topic message message = message. Body; Var messageSubject = message.Subject;
Comments
Post a Comment