fast_chemail 0.9.3

  • Installing
  • Versions
  • 23

Fast Chemail

A Dart library to validate the email as it is defined in the HTML specification. The RFC 5322 is too lax (allowing comments, whitespace characters, and quoted strings in manners unfamiliar to most users) to be of practical use.

Also, has been considered the bounds defined in:

  • SMTP :: Size Limits and Minimums

    • The maximum total length of a user name or other local-part is 64 octets.
    • The maximum total length of a domain name or number is 255 octets.
    • The maximum total length of a reverse-path or forward-path is 256 octets (including the punctuation and element separators).

    There is a great contradiction. The maximum total length of an email address is 320 octects:

    {64}@{255} => 64 + 1 + 255 = 320

    but the maximum total length of a reverse-path or forward-path is 256 octets. Addition, that is only the length of the email address because it may contain a display name, like first last <local@domain> and will often extend 320 octets.

    Now well, since the standard says: "to the maximum extent possible, implementation techniques that impose no limits on the length of these objects should be used", the bound to reverse-path or forward-path will not be taken.

  • Application Techniques for Checking and Transformation of Names

    Such memo is not a standard else informational, so the correction done in the errata is not followed.

Table of Contents


Add to your 'pubspec.yaml' file:

  fast_chemail: ^0


Read the documentation.


The canonical source of this repository is hosted on GitLab. Please make your issues there.

The pull requests are not accepted without filling an issue, to know wheter what you want to change, it seems to me right for this project.

Note: this is a free/open source project at zero price built in my spare time, and it is possible that I have not time to solve any issue.


© 2016 Jonas Me See the '' file for a full list of authors.

The source files are distributed under the terms of the license Mozilla Public License, version 2.0

1. Depend on it

Add this to your package's pubspec.yaml file:

  fast_chemail: "^0.9.3"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:fast_chemail/fastchemail.dart';
Version Uploaded Documentation Archive
0.9.3 Dec 7, 2016 Go to the documentation of fast_chemail 0.9.3 Download fast_chemail 0.9.3 archive


This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Feb 14, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1


Describes how popular the package is relative to other packages. [more]
0 / 100
Code health derived from static analysis. [more]
43 / 100
Reflects how tidy and up-to-date the package is. [more]
49 / 100
Overall score:
Weighted score of the above. [more]


Detected platforms: unsure

Error(s) prevent platform classification.


  • Fix lib/fastchemail.dart.

    Strong-mode analysis of lib/fastchemail.dart failed with the following error:

    line: 200 col: 38
    The name 'parser' refers to an import prefix, so it must be followed by '.'.

  • Fix platform conflicts.

    Make sure none of the libraries use mutually exclusive dependendencies.

  • Maintain

    Changelog entries help clients to follow the progress in your code.

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 1 error(s) and 0 warning(s).

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use fast_chemail.dart.


Package Constraint Resolved Available
Dev dependencies
test >=0.12.0