How to add Cloudinary files as email attachments in Action Mailer Ruby

Comments

9 comments

  • Avatar
    Daniel Mendoza

    Can you loop artist_metrics outside of the cl_image_tag? Maybe something across these lines:

    <% @artists_metric.justification_files.each do |file| %>
    cl_image_tag(file, flags:attachment)
    <% end %>
    0
    Comment actions Permalink
  • Avatar
    jonny0000

    I am also facing same issue and don't know what to do.

    0
    Comment actions Permalink
  • Avatar
    Aleksandar Kostadinov

    Hi @Jonny0000,

    Did you have a chance to try the suggestion by Daniel above - what was the result?

    0
    Comment actions Permalink
  • Avatar
    singh

    Did anyone tried Daniel suggestion.

    0
    Comment actions Permalink
  • Avatar
    Aleksandar Kostadinov

    Hi @singh,

    If you're running into this issue also please give Daniel's suggestion a try and let me know how it goes.

    0
    Comment actions Permalink
  • Avatar
    Resi

    Some else tried his suggestions.

    -1
    Comment actions Permalink
  • Avatar
    Aleksandar Kostadinov

    Hi @Resi,

    I'm not sure I understand what you mean - could you please provide more details/context about your response?

    0
    Comment actions Permalink
  • Avatar
    MichaelWik

    Hi @Resi,

    I have tried to follow the instructions provided above but I didn't succeed. I think the post doesn't contain full details of information that I need.

    0
    Comment actions Permalink
  • Avatar
    Eric Pasos

    Hi @MichaelWik,

    In order to get a better understanding of the implementation that you would like to achieve, can you please help to open a support ticket here (https://support.cloudinary.com/hc/en-us/requests/new) and provide us the sample source code showing the errors you are encountering (e.g., through Github or Replit would be helpful)?

    Thanks.

    0
    Comment actions Permalink

Please sign in to leave a comment.