flutter_email_parser

Last updated:

0 purchases

flutter_email_parser Image
flutter_email_parser Images
Add to Cart

Description:

flutter email parser

flutter_email_reply_parser #
Email reply parser is a package to parse plain text email content.
Usage #
Example

add the dependency to your pubspec.yaml

dependencies:
flutter:
sdk: flutter
flutter_email_parser:
copied to clipboard
How to use #
import 'package:flutter/material.dart';
import 'package:flutteremailreplyparser/email_reply_parser.dart';

class Example extends StatefulWidget {
@override
_ExampleState createState() => _ExampleState();
}

class _ExampleState extends State<Example> {
@override
Widget build(BuildContext context) {
return Center(
child: Text(_getTheEmailContent()),
);
}

// This will return the parsed string.
String _getTheEmailContent() {
const email_1 = """
Hi folks

What is the best way to clear a Riak bucket of all key, values after
running a test?
I am currently using the Java HTTP API.

-Krishna Soni


_______________________________________________
test-users mailing list
[email protected]
https://github.com/krishnaSoni2113/flutter-email-reply-parser
""";

// Here we are parsing the email data.
EmailReplyParser _emailReplyParser = EmailReplyParser();
return _emailReplyParser.parseReply(emailText: email_1);
}
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.