- Enhancements
- Raise runtime error whenever API isn't configured whenever making an API call
- Fixes
- custom headers are properly sent when V3 of the SendGrid API
- Enhancements
- Add
add/1
,all_recipients/3
, anddelete_recipient/2
toSendGrid.Contacts.Lists
- Remove compile warnings for
Phoenix.View
- Add
- Enhancements
- Relax dependency versions
- add
put_phoenix_layout/2
inSendGrid.Email
to render views in
- Breaking Changes
put_phoenix_template/3
now expects an atom for implicit template rendering
- Enhancements
- update docs
- upgrade to Elixir 1.4
- add support for Phoenix Views
- Enhancements
- update
httpoison
to 0.11.0 andpoison
to 3.0 - clean up compiler warnings when using Elixir 1.3
- update
- Enhancements
- add
add_custom_arg
for custom arguments - remove
raise
when no API key is provided at compile-time
- add
- Enhancements
- add
add_attachment
for attachments - bump
:poison
version to 2
- add
- Enhancements
- add
add_header
to be sent with an email
- add
- Fixes
- replace documentation using to
put_to
withadd_to
- replace documentation using to
-
Enhancements
- [Mailer] sandbox mode is fetched during runtime instead of compile time
-
Fixes
- [Mailer] add missing insertion of template id
- Fixes
- [Email] Make an exposed method private
-
Enhancements
- [Email] multiple TO recipients can be added with
add_to/2
andadd_to/3
- [Email] BCC recipients can be supported
- [Email] Reply-to name can be specified as third param of
put_reply_to/3
- [Email] added
put_send_at/2
for delayed sending of email - [Mailer] uses V3 of the SendGrid mail send API
- [Mailer] sandbox mode can be enabled through a config setting
- [Email] multiple TO recipients can be added with
-
Breaking Changes
put_to/2
no longer exists; useadd_to/2
oradd_to/3
insteadadd_cc/2
when submitting a list of addresses no longer existsput_from_name/2
no longer exists; useput_from/3
and set the from_name as the third paramdelete_cc/2
no longer exists
- Enhancements
- Updated HTTPoison version for less compiler warnings when using Elixir 1.3
- Enhancements
- Added some API to add email addresses for marketing campaigns
:sendgrid
needs to be added to the list of applications in the mix.exs
file.
def application do
[applications: [:sendgrid]]
end
- Fixes
- Updated some docs