mailer 5.2.0 icon indicating copy to clipboard operation
mailer: ^5.2.0 copied to clipboard

Compose and send emails from Dart. Supports file attachments and HTML emails

237
likes
110/ 130
pub points
97%
popularity

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

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger 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

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 28 out of 117 API elements (23.9 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger 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:mailer/mailer.dart that imports:
  • package:mailer/src/smtp/mail_sender.dart that imports:
  • package:mailer/src/smtp/smtp_client.dart that imports:
  • package:mailer/src/smtp/internal_representation/internal_representation.dart that imports:
  • package:mailer/src/entities/message.dart that imports:
  • package:mailer/src/entities/attachment.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 5 issues. Showing the first 2:

INFO: The declaration '_outValueB64' isn't referenced.

lib/src/smtp/internal_representation/ir_header.dart:26:21

   ╷
26 │   Stream<List<int>> _outValueB64(String value) async* {
   │                     ^^^^^^^^^^^^
   ╵

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

INFO: The import of 'exceptions.dart' is unnecessary because all of the used elements are also provided by the import of '../../mailer.dart'.

lib/src/smtp/mail_sender.dart:9:8

  ╷
9 │ import 'exceptions.dart';
  │        ^^^^^^^^^^^^^^^^^
  ╵

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
async^2.5.02.9.02.9.0
intl^0.17.00.17.00.17.0
logging^1.0.01.0.21.0.2
meta^1.3.01.8.01.8.0
mime^1.0.01.0.21.0.2
path^1.7.01.8.21.8.2
pedantic^1.9.21.11.11.11.1
Transitive dependencies
PackageConstraintCompatibleLatest
clock-1.1.11.1.1
collection-1.16.01.16.0

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

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.13, Dart 2.17.5.

237
likes
110
pub points
97%
popularity

Publisher

unverified uploader

Compose and send emails from Dart. Supports file attachments and HTML emails

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

async, intl, logging, meta, mime, path, pedantic

More

Packages that depend on mailer