Po Chen

Results 155 comments of Po Chen
trafficstars

Right. Currently `Swoosh.TestAssertions` is not equipped with the necessary tools to deal with `deliver_many`. As a workaround you can just go `assert_receive` until something like `assert_emails_sent` is added. Note, `deliver_many`...

Yeah. https://github.com/swoosh/swoosh/pull/721 take this into consideration, though.

PRs are always welcome!

Hi, could you give #704 a go?

Hi @kevinwong150 , you can fix your code by removing `|> header("Content-Type", "multipart/alternative")`. The header is automatically added depending on the content of the email. `multipart/alternative` is incorrect for emails...

Tested in livebook # Untitled notebook ```elixir Mix.install([ :gen_smtp, :swoosh ]) ``` ## Section ```elixir attach = Swoosh.Attachment.new( {:data, "this is text attahment"}, content_type: "text/plain", filename: "only_text.txt" ) ``` ```elixir...

Hi @kevinwong150 I updated this issue to be a feature, for future investigation. Sending ics as an alternative part to text and/or html is currently not supported. The closest you...

Woah. Thanks for the investigation!

It'd be very helpful if you could post your test code. Receive block does not automatically repeat. It simply receives one message. By receiving it, it consumes it in the...

> I think this all boils down to a fairly simple question/issue: I'm sure my code is pushing two emails to the test adapter and the test with two asserts...