flutter_msg_parser 0.0.3 copy "flutter_msg_parser: ^0.0.3" to clipboard
flutter_msg_parser: ^0.0.3 copied to clipboard

A parser to parse binary MSG messages, from Microsoft Outlook

This package is a port of msg reader (javascript) wich reads and parses email messages saved in (binary) MSG format. It also reads attachments from the saved message.

Features #

It will parse the MSG file and return a data structure containing all the text, html and attachments.

Getting started #

Include this library in your Android or IOS flutter App.

Usage #

    
    Uint8List msg = await File('test/test.msg').readAsBytes();

    MsgParseResult result =  parseMsg(msg);
  
    print (result.subject);
    print (result.from);
    print (result.recipients);
    print (result.text);
    print (result.html);
    for (final attachment in result.attachments) {
        print(attachment.name);
        print(attachment.inline);
        print(attachment.contentType);
        print(attachment.data);
        print(attachment.data64);
    }

Additional information #

2
likes
130
points
257
downloads

Publisher

unverified uploader

Weekly Downloads

A parser to parse binary MSG messages, from Microsoft Outlook

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

enough_convert, flutter

More

Packages that depend on flutter_msg_parser