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

Attachment without MIME type in file path #17

Closed swerter closed 9 years ago

swerter commented 9 years ago

Hi

If the attachment does not contain any MIME type information in the path, function mime_full_for_path(path) will return nil, which then brakes mime_type_for_path(path) on line 698 in file lib/mailman/attachment.ex

Would be great if you could have a look. Thanks.

dejanstrbac commented 9 years ago

Should be fixed with #18 , @kamilc please check, it's a very tiny PR.

kamilc commented 9 years ago

The #18 has been merged. Could you confirm on your end @swerter that it works well now for you? Thanks

swerter commented 9 years ago

Yep, all good. Thanks :)

kamilc commented 9 years ago

Great - Thanks