From: <ms...@md...> - 2010-04-12 23:48:48
|
Mailchimp actually recommends that you embed the style in the style attributes of tags for emails (same reasons just even more aggressive). Sent from my iPhone On Apr 12, 2010, at 7:15 PM, "Ravi Mendis" <rm...@ma...> wrote: > You may have better luck embedding the CSS in the HTML <head>. > Including CSS resources as URLs doesn't work so well on some email clients. > >FYI: HTML email goes against most standards and conventions, etc and isn't guaranteed to be readable by the recipient. > > On 12/04/2010, at 3:15 PM,Francis Labrie <fra...@gm...> wrote: > >> I'm using a component including an ERXStyleSheet to send an email with ERMailDeliveryHTML. In development mode, I get complete URL to the CSS resource. Unfortunately, email sent in production mode only get relative reference to the CSS resource, without the host name: why? >> >> context = (WOContext)context().clone(); >> context.generateCompleteURLs(); >> content = application.pageWithName(MyMailComponent.class, context); >> ... >> mail.setComponent(content); >> ... >> >> I've tried to call context.generateCompleteURLs() to make sure URLs would be generated as complete ones, but it doesn't seems to work. >> >> Is there a recipe to make sure URL containers like ERXStyleSheet within a ERMailDeliveryHTML's component will generate full URLs? >> >> BTW, I'm using WO5.4 and the context here typically use a secure/HTTPS base address. Thanks! >> > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Wonder-disc mailing list > Won...@li... > https://lists.sourceforge.net/lists/listinfo/wonder-disc |