lunaclaire
2009-Mar-15 19:58 UTC
image_tag resolution of path to image not working in html emails
I''m using the inline_attachment gem at: http://github.com/betamatt/inline_attachment/tree/master to include images in my html emails and almost have everything working well now, except that what works in development does not work in production. when sent from the development machine here''s what gets inserted by image_tag in the email that goes out: <img alt="RedeyeStats.com" height="35px" src="cid: 1237146569.011RedeyeLogo.gif@inline_attachment" style="border: none;" width="234px" /> when sent from production: <img alt="RedeyeStats.com" height="35px" src="/images/RedeyeLogo.gif?1236723122" style="border: none;" width="234px" /> Note the relative path. So, something''s not getting resolved correctly in production. Can anyone pt me in the right direction to figure out why? Thx. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---