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

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.
6 0
9 followers
Viewed: 16 523 times
Version: 1.1
Category: How-tos
Written by: yasen
Last updated by: yasen
Created on: Jan 20, 2013
Last updated: 10 years ago
Update Article

Revisions

View all history