Changeset 1313
- Timestamp:
- 05/19/2004 05:43:32 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-mail.php
r1158 r1313 5 5 6 6 error_reporting(2037); 7 8 $time_difference = get_settings('gmt_offset'); 7 9 8 10 $pop3 = new POP3(); … … 41 43 $content .= $line; 42 44 } else { 43 if (preg_match('/Content-Type: / ', $line)) {45 if (preg_match('/Content-Type: /i', $line)) { 44 46 $content_type = trim($line); 45 47 $content_type = substr($content_type, 14, strlen($content_type)-14); … … 52 54 $boundary = $boundary[1]; 53 55 } 54 if (preg_match('/Subject: / ', $line)) {56 if (preg_match('/Subject: /i', $line)) { 55 57 $subject = trim($line); 56 58 $subject = substr($subject, 9, strlen($subject)-9); … … 59 61 } 60 62 } 61 if (preg_match('/Date: / ', $line)) { // of the form '20 Mar 2002 20:32:37'63 if (preg_match('/Date: /i', $line)) { // of the form '20 Mar 2002 20:32:37' 62 64 $ddate = trim($line); 63 65 $ddate = str_replace('Date: ', '', $ddate);
Note: See TracChangeset
for help on using the changeset viewer.