swoosh v1.1.0 Release Notes

Release Date: 2020-11-08 // over 3 years ago
  • Highlights

    The Recipient Protocol enables you to easily make your structs compatible
    with Swoosh functions.

    defmodule MyUser do@derive {Swoosh.Email.Recipient, name: :name, address: :email} defstruct [:name, :email, :other\_props]end
    

    Now you can directly pass %MyUser{} to from, to, cc, bcc, etc.
    ๐Ÿ‘€ See Swoosh.Email.Recipient for more details.

    ๐Ÿฑ โœจ Features

    ๐Ÿšง ๐Ÿงฐ Maintenance

    ๐Ÿ“š ๐Ÿ“ Documentation