mailman-elixir / mailman

Mailman provides a clean way of defining mailers in your Elixir applications
https://github.com/mailman-elixir/mailman
Other
203 stars 73 forks source link

Support attaching files from a valid URL #46

Closed arunvelsriram closed 8 years ago

arunvelsriram commented 8 years ago

Currently Mailman provides support for attaching files from the file system only. I added methods attach and attach! which reads a file from the given URL using httpotion and uses the read data to construct %Mailman.Attachment{}.

Am bit busy so I couldn't write any tests.

Thank you Sukanya for pairing and support.

kamilc commented 8 years ago

Thanks!