wire-subsystems-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Wire.EmailSubsystem.Interpreter

Synopsis

Documentation

mkMimeAddress :: Name -> EmailAddress -> Address Source #

Construct a MIME Address from the given display Name and Email address that does not exceed 320 bytes in length when rendered for use in SMTP, which is a safe limit for most mail servers (including those of Amazon SES). The display name is only included if it fits within that limit, otherwise it is dropped.