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

New Post: Best way to create a Message object from a string?

$
0
0
I've scoured through the code, particularly the EmailParser class and I can't seem to find a straightforward way of constructing a Message object given a string (or array of strings) containing the raw text of a message (headers + body).

In this particular scenario I am trying to load the contents of a file that contains the previously downloaded message source.

Any suggestions?

Viewing all articles
Browse latest Browse all 1952

Trending Articles



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