Kasper Føns

Results 14 comments of Kasper Føns

Your code actually modifies the MessagePart. If I was calling ToMailMessage, I would not expect it to modify the original content. It would be wise to clone the ContentType instead.

This is not something that is easily solvable, as the email you received is clearly invalid.

HTC One S (Android 4.1.1). I used a debugger and the `getAcceptedIssuers()` was the problem. I moved it outside the loop and only fetched it into a variable.

I know. Which method are you talking about. The `getAcceptedIssuers()` of `defaultTrustManager`? The timings i gave (5-15 sec) was approximately how it felt for the user. When using the debugger,...