| 1 |
<?php // $Id: mimemail_compress.inc,v 1.2 2009/02/22 23:26:39 jerdavis Exp $ |
<?php // $Id: mimemail_compress.inc,v 1.3 2009/02/23 04:28:46 jerdavis Exp $ |
| 2 |
|
|
| 3 |
|
/** |
| 4 |
|
* Code based on emogrifier by Pelago Design and licensed under the MIT license |
| 5 |
|
* http://www.pelagodesign.com/sidecar/emogrifier/ |
| 6 |
|
* |
| 7 |
|
* http://www.opensource.org/licenses/mit-license.php |
| 8 |
|
* |
| 9 |
|
* Copyright (c) 2009 Pelago Design |
| 10 |
|
* |
| 11 |
|
* Permission is hereby granted, free of charge, to any person obtaining a copy |
| 12 |
|
* of this software and associated documentation files (the "Software"), to deal |
| 13 |
|
* in the Software without restriction, including without limitation the rights |
| 14 |
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 15 |
|
* copies of the Software, and to permit persons to whom the Software is |
| 16 |
|
* furnished to do so. |
| 17 |
|
*/ |
| 18 |
|
|
| 19 |
function mimemail_compress_clean_message($message) { |
function mimemail_compress_clean_message($message) { |
| 20 |
$parts = array(); |
$parts = array(); |