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)

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 923 times
Version: 1.1
Category: How-tos
Written by: yasen
Last updated by: yasen
Created on: Jan 20, 2013
Last updated: 11 years ago
Update Article

Revisions

View all history