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....@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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to