Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

Created Unassigned: Regex expression for parsing BODYSTRUCTURE [2444]

$
0
0
Hi,
I had some issues with parsing the BODYSTRUCTURE, when its more complex.

Changing Line 31 in Expressions.cs from

```
public static readonly Regex BodyStructRex = new Regex(@"BODYSTRUCTURE (\(.+\))");
```
to
```
public static readonly Regex BodyStructRex = new Regex(@"FETCH \(.*BODYSTRUCTURE \((.*)\).*\)");
```

solved the problem.

Best regards,
Michael

Viewing all articles
Browse latest Browse all 1952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>