Difference between #9 and #10 of
Turn Web HTML Into Newsletter

Revision #10 has been created by yasen on May 18, 2013, 2:53:11 PM with the memo:

added link to github project
« previous (#9)


Title unchanged

Turn Web HTML Into Newsletter

Category unchanged


Yii version unchanged

Tags unchanged

cron, newsletter, command line, yiic, inline css

Content changed

It would be good to add a link at the bottom letting users unsubscribe, for example:

If you want to unsubscribe, please login into <?php echo CHtml::link('your profile',HOST_URL.'site/login/');?> and change the notification settings.
Another way to turn web HTML into newsletter one is manually through [The MailChimp CSS Inliner Tool.](http://beaker.mailchimp.com/inline-css "") Hope this solution will work for you as well. Please share any comments or suggestions. If you have any questions please direct them to the Yii Forum. Happy coding.

Update: Worth also looking at [https://github.com/christiaan/InlineStyle](https://github.com/christiaan/InlineStyle "https://github.com/christiaan/InlineStyle")
InlineStyle provides an easy way to apply embedded and external stylesheets directly as inline styles on the HTML tags. This is especially targetted at mail clients which mostly dont support stylesheets but do support the style attribute for HTML tags.
6 0
Viewed: 12 578 times
Version: 1.1
Category: How-tos
Written by: yasen
Last updated by: yasen
Created on: Jan 20, 2013
Last updated: 5 years ago
Update Article


View all history