enough_mail 2.1.6 copy "enough_mail: ^2.1.6" to clipboard
enough_mail: ^2.1.6 copied to clipboard

IMAP, POP3 and SMTP for email developers. Choose between a low level and a high level API for mailing. Parse and generate MIME messages. Discover email settings.

117
likes
130/ 160
pub points
5.15k
downloads

We analyzed this package 24 hours ago, and awarded it 130 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MPL-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

1488 out of 1488 API elements (100.0 %) have documentation comments.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:enough_mail/enough_mail.dart that imports:
  • package:enough_mail/smtp.dart that imports:
  • package:enough_mail/src/smtp/smtp_exception.dart that imports:
  • package:enough_mail/src/smtp/smtp_client.dart that imports:
  • package:enough_mail/src/private/util/client_base.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:enough_mail/enough_mail.dart that imports:
  • package:enough_mail/smtp.dart that imports:
  • package:enough_mail/src/smtp/smtp_exception.dart that imports:
  • package:enough_mail/src/smtp/smtp_client.dart that imports:
  • package:enough_mail/src/private/util/client_base.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 10 issues. Showing the first 2:

WARNING: Unnecessary cast.

lib/src/message_builder.dart:250:11

    ╷
250 │           utf8.encode(text) as Uint8List,
    │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/message_builder.dart

WARNING: Unnecessary cast.

lib/src/message_builder.dart:487:13

    ╷
487 │             utf8.encode(messageText) as Uint8List, partBuilder),
    │             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/message_builder.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
basic_utils ^5.6.1 5.7.0 5.7.0
collection ^1.16.0 1.19.1 1.19.1
crypto ^3.0.0 3.0.6 3.0.6
encrypt ^5.0.0 5.0.3 5.0.3
enough_convert ^1.5.0 1.6.0 1.6.0
event_bus ^2.0.0 2.0.1 2.0.1
intl ^0.19.0 0.19.0 0.20.1
json_annotation ^4.8.0 4.9.0 4.9.0
pointycastle ^3.6.0 3.9.1 3.9.1
synchronized ^3.1.0 3.3.0+3 3.3.0+3
xml >=6.0.0 <7.0.0 6.5.0 6.5.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
js - 0.7.1 0.7.1
logging - 1.3.0 1.3.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.

Try running dart pub upgrade --major-versions intl to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

117
likes
130
points
5.15k
downloads

Publisher

verified publisherenough.de

Weekly Downloads

IMAP, POP3 and SMTP for email developers. Choose between a low level and a high level API for mailing. Parse and generate MIME messages. Discover email settings.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

basic_utils, collection, crypto, encrypt, enough_convert, event_bus, intl, json_annotation, pointycastle, synchronized, xml

More

Packages that depend on enough_mail