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
-~----------~----~----~----~------~----~------~--~---

Reply via email to