Skip to content

Attachments / Inline attachments not rendering #3

@Kulgar

Description

@Kulgar

Hi!

Firstly, let me thank you for this gem, it is a great one.

Well, but I do have an issue, within one of my Mailer action I have something like this:
attachments.inline['mail_image.png'] = File.read('public/mails/mail_image.png')

And when I browse to the email preview, I have a lot of strange caracters: �PNG���� ...

So, how may I properly render inline attached images?

Thanks :)
Kulgar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions