Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages