mailman
mailman copied to clipboard
Mailman provides a clean way of defining mailers in your Elixir applications
I would like to change the return path of the email. But no matter what I try: ```elixir def deliver(return_path, from, to, email) do email = email |> Map.put(:to, [to])...
I want forward emails by simply changing the `:to` address. The way it goes: 1. Get email by gen_smtp. 2. Parse email with `Mailman.Email.parse!/1` into `%Mailman.Email{}` 3. Change the `:to`...
I updated elixir to version 1.11.4, and since then I have the following error: > ** (ArgumentError) argument error :erlang.split_binary('250-PR0P264CA0221.outlook.office365.com Hello [37.157.224.248]\r\n', 3) (gen_smtp 0.14.0) /app/deps/gen_smtp/src/binstr.erl:114: :binstr.substr/3 (gen_smtp 0.14.0) /app/deps/gen_smtp/src/gen_smtp_client.erl:623:...
I am trying to get a very simple example of the email parsing working, here is my code: ``` def parse_test() do email = """ Message-Id: From: Micah Warren To:...
Greetings, I get this crash :load_failed, 'Failed to load NIF library: \'priv/eiconv_nif.so: cannot open shared object file: No such file or directory\'' from Mailman.Email.parse! But only when I run the...
Since we have [friendly competition](https://github.com/thoughbot/bamboo) now, I think this project would benefit from a more welcoming appearance in general. - [ ] a pleasant little logo - [ ] better...
Hi. Having a contributing guide will be really helpful for people who are interested in fixing bugs and adding features.
I get this error when trying to parse an email without attachment info: Example email: https://gist.github.com/fabiokr/13639921d958d3949cfb ``` ** (exit) an exception was raised: ** (ArgumentError) argument error lib/mailman/parsing.ex:58: Mailman.Parsing.filename_from_raw/1 lib/mailman/parsing.ex:74:...
The `TestingAdapter.deliver` function returns a `Task`, however the `ExternalSmtpAdapter.deliver` returns a tuple: `{:ok, message}`. I think that both function should return the same type, it would make tests behave more...
Hi, I noticed that the TestAdapter will do a non-blocking cast for delivering emails, but other adapters will do a blocking call. This causes different handling of the deliver result...