Matt is right on the money. Images are not a big deal, simply link them as you would for any html using the full http://mysite.com/images/picture.jpg path.
And make sure (as stated above) that the email still is representable without the images because they do not load by default for a large majority of the recipients. On Jun 18, 5:06 am, Matthew MacLeod <[email protected]> wrote: > On Jun 18, 6:37 am, elliottg <[email protected]> wrote: > > > However if I do want to link to an image or stylesheet in /public/* > > from the email how would I do that? > > You would just link to images or stylesheets in your ActionMailer view > in the same way as you usually would. > > And I know you say you want to, but bear in mind that linking in an > external stylesheet will fail for most email clients. At the very > minimum you will need to include the CSS inside a <style> tag within > the email, and for clients including GMail and Outlook you will > actually have to include the CSS within the style attribute of the > HTML tags. > > -Matt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

