Cargo Features

Mail has no features set by default.

[dependencies]
mail = { version = "0.7.0", features = ["smtp", "handlebars", "traceing", "serde-impl", "test-utils"] }
smtp = mail-smtp
handlebars

Enables handlebars-bindings of mail-template

traceing

Enables traceing of mail-headers and mail-internals

serde-impl

Enables serde-impl of mail-core and mail-headers

test-utils

Enables test-utils of mail-core

Affects mail::test_utils

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

mail-smtp smtp?