Changes
Title
unchanged
Turn Web HTML Into Newsletter
Category
unchanged
How-tos
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:
```php
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.