- Fix sections on CHANGELOG @nelsonmestevao (#781)
- SendInBlue -> Brevo @princemaple (#783)
- Fix BCC for adapters that depend on SMTP helper @princemaple (#779)
- Remove unnecessary sentence from README @adamu (#776)
- Do not include Bcc header in delivered email @adamu (#773) Thanks heaps for the discussion and PR!
- Bump mime from 2.0.3 to 2.0.5 @dependabot (#771)
- Add experimental new test assertion module @jakub-gonet (#747)
- Fix inline attachment showing up twice as both inline and attachment @Hermanverschooten (#769)
- Corrects typo in ex_aws_amazon_ses.ex @paynegreen (#766)
- Allow Regexp assertions for subjects @aronisstav (#764)
- Bump finch from 0.15.0 to 0.16.0 @dependabot (#762)
- Add assert_emails_sent @geeksilva97 (#757)
- Add postmark inline_css option @matehat (#759)
- Make Adapters.ExAwsAmazonSES easier to discover @nathanl (#749)
- Add notes about API Client @Shadowbeetle (#743)
- Move docs above maintenance @princemaple (#760)
- Bump ex_doc from 0.29.3 to 0.29.4 @dependabot (#756)
- Bump ex_aws from 2.4.1 to 2.4.2 @dependabot (#755)
- Bump ex_doc from 0.29.2 to 0.29.3 @dependabot (#753)
- Bump plug_cowboy from 2.6.0 to 2.6.1 @dependabot (#752)
- Bump finch from 0.14.0 to 0.15.0 @dependabot (#751)
- Bump ex_doc from 0.29.1 to 0.29.2 @dependabot (#748)
- Bump telemetry from 1.2.0 to 1.2.1 @dependabot (#745)
- Bump telemetry from 1.1.0 to 1.2.0 @dependabot (#741)
- Add support for Protonmail Bridge @Raphexion (#739)
- Fix more typos @kianmeng (#736)
- Add customer.io adapter @lucacorti (#734)
potential breaking change, fixing an unexpected behaviour
- Make return type of deliver_many consistent @princemaple (#733)
- Fix typo in contributor guidelines @nickcampbell18 (#727)
- Swoosh.Adapters.Test.delivery_many/2 returns a list @markthequark (#721)
- Add missing double quote to mandrill template content sample @alvarezloaiciga (#726)
- Bump ex_doc from 0.28.5 to 0.29.0 @dependabot (#725)
- Postmark: Support per email tracking options @Wijnand (#722)
- Bump jason from 1.3.0 to 1.4.0 @dependabot (#719)
- Prevent crashes caused by the memory GenServer restarts @KiKoS0 (#717)
- Bump ex_aws from 2.3.4 to 2.4.0 @dependabot (#715)
Bump to require Elixir 1.11. Now official support has been updated to Elixir 1.11+ with OTP 23+
- doc: correct tags example for Adapters.Sendinblue @03juan (#711)
- Bump ex_doc from 0.28.4 to 0.28.5 @dependabot (#712)
- Bump ex_aws from 2.3.3 to 2.3.4 @dependabot (#710)
- Set attachment's ContentId in Mailjet @marcinkoziej (#709)
- Bump mime from 2.0.2 to 2.0.3 @dependabot (#708)
- Bump finch from 0.12.0 to 0.13.0 @dependabot (#707)
- Fix typos in gmail and socket labs adapters @zusoomro (#706)
- Fix markdown issues and typos @kianmeng (#705)
- Support assertions for headers @MatheusBuss (#702)
- add schedule_at provider param for sendinblue @moperacz (#700)
- Update Telemetry example to mention errors on
:stop
@lucasmazza (#698)
- Bump ex_aws from 2.3.2 to 2.3.3 @dependabot (#699)
- sendgrid add support for scheduling emails @shravanjoopally (#696)
- Test otp 25 @princemaple (#695)
- SMTP: Allow send email without 'To' @Danielwsx64 (#694)
- Add SMTP2GO adapter @princemaple (#687)
- Bump ex_aws from 2.3.1 to 2.3.2 @dependabot (#692)
- Bump finch from 0.11.0 to 0.12.0 @dependabot (#690)
- Bump ex_doc from 0.28.3 to 0.28.4 @dependabot (#688)
- fix module name in ExAwsAmazonSES module doc @SteffenDE (#689)
- Suppress warning about
ExAws.Config
introduced in 1.6.5 as optional dependency
- Add
Swoosh.Adapters.ExAwsAmazonSES
adapter @ascandella (#684)
- Bump gen_smtp from 1.1.1 to 1.2.0 @dependabot (#682)
- Add message_stream documentation to Postmark adapter @ntodd (#674)
- Rename Mime-Version header to MIME-Version @tcitworld (#681)
- Migrate OhMySmtp to Mailpace @princemaple (#672)
- SMTP can now utilize the new
:cid
addition in attachments, if:cid
isnil
it will fallback to original behavior and use:filename
- Fixed filename for inline images sent via SMTP
- Add fields to Postmark
deliver_many
response @zporter (#668)
- allow custom CIDs for inline attachments @taobojlen (#665)
- add OhMySMTP adapter @taobojlen (#663)
- Bump finch from 0.10.1 to 0.10.2 @dependabot (#661)
- Bump ex_doc from 0.27.0 to 0.27.3 @dependabot (#660)
- Bump ex_doc from 0.26.0 to 0.27.0 @dependabot (#659)
- Bump finch from 0.10.0 to 0.10.1 @dependabot (#655)
- Bump jason from 1.2.2 to 1.3.0 @dependabot (#654)
- Bump finch from 0.9.1 to 0.10.0 @dependabot (#651)
- Config bypass only on test @nallwhy (#650)
- Mention E2E tests @princemaple (#664)
- Add configuration options to Mailgun documentation @Zurga (#652)
- Add example to Dyn adapter @kianmeng (#647)
- Add provider options for Sparkpost @kianmeng (#646)
- Add provider options doc for socketlabs @kianmeng (#645)
- Update provider options doc for Sendinblue @kianmeng (#644)
- Update provider options doc for Sendgrid @kianmeng (#643)
- Update provider options doc for Postmark @kianmeng (#642)
- Add provider options doc for Mandrill adapter @kianmeng (#641)
- Add provider options doc for Mailjet @kianmeng (#640)
- Update provider options doc for Mailgun adapter @kianmeng (#639)
- Add provider options doc for Amazon SES adapter @kianmeng (#638)
- Correct sample configuration for gmail adapter @aarongraham (#637)
- Clarify that you need to add :gen_smtp as a dependency @Hermanverschooten (#635)
- @Hermanverschooten made their first contribution in swoosh#635
- @aarongraham made their first contribution in swoosh#637
- @nallwhy made their first contribution in swoosh#650
- @Zurga made their first contribution in swoosh#652
- @taobojlen made their first contribution in swoosh#663
Full Changelog: https://github.com/swoosh/swoosh/compare/v1.5.2...v1.6.0
- Fix closing tag @feld (#634)
- Adding support for inline attachments preview in MailboxPreview @theodowling (#628)
- Fixing Typo @Orijhins (#629)
- Further cleanup async section @josevalim (#621)
- Build upon async emails section @josevalim (#620)
- Fix typos @kianmeng (#618)
- Fix a few typos in the docs @nickjj (#617)
- Add telemetry to
Mailer.deliver
&Mailer.deliver_many
@joshnuss (#614)
- Improve README.md - mention
api_client
as false @philss (#610)
You can configure what API Client to use by setting the config. Swoosh comes with
Swoosh.ApiClient.Hackney
and Swoosh.ApiClient.Finch
config :swoosh, :api_client, MyAPIClient
It defaults to use :hackney
with Swoosh.ApiClient.Hackney
. To use Finch
,
add the below config
config :swoosh, :api_client, Swoosh.ApiClient.Finch
To use Swoosh.ApiClient.Finch
you also need to start Finch
, either in your
supervision tree
children = [
{Finch, name: Swoosh.Finch}
]
or somehow manually, and very rarely dynamically
Finch.start_link(name: Swoosh.Finch)
If a name different from Swoosh.Finch
is used, or you want to use an existing
Finch instance, you can provide the name via the config.
config :swoosh,
api_client: Swoosh.ApiClient.Finch,
finch_name: My.Custom.Name