- Timestamp:
- 10/05/09 14:23:45 (10 months ago)
- Files:
-
- fEmail.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
fEmail.php
r701 r710 Hide Line Numbers 17 17 * @link http://flourishlib.com/fEmail 18 18 * 19 * @version 1.0.0b11 19 * @version 1.0.0b12 20 * @changes 1.0.0b12 Removed duplicate MIME-Version headers that were being included in S/MIME encrypted emails [wb, 2009-10-05] 20 21 * @changes 1.0.0b11 Updated to use the new fValidationException API [wb, 2009-09-17] 21 22 * @changes 1.0.0b10 Fixed a bug with sending both an HTML and a plaintext body [bb-imarc, 2009-06-18] … … 748 749 $new_headers = preg_replace('#^To:[^\n]+\n( [^\n]+\n)*#mi', '', $new_headers); 749 750 $new_headers = preg_replace('#^Subject:[^\n]+\n( [^\n]+\n)*#mi', '', $new_headers); 751 $new_headers = preg_replace("#^MIME-Version: 1.0\r?\n#mi", '', $new_headers, 1); 750 752 $new_headers = preg_replace('#^Content-Type:\s+' . preg_quote($headers_array['Content-Type'], '#') . "\r?\n#mi", '', $new_headers); 751 753 $new_headers = preg_replace('#^Content-Transfer-Encoding:\s+' . preg_quote($headers_array['Content-Transfer-Encoding'], '#') . "\r?\n#mi", '', $new_headers);
