Changeset a23884b in github
- Timestamp:
- May 13, 2007 2:25:52 PM (6 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 18da24b
- Parents:
- 281e3ed
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/steps/mail/sendmail.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r281e3ed ra23884b 7 7 - Fixed marking as read in preview pane (closes #1484364) 8 8 - CSS hack to display attachments correctly in IE6 9 - Wrap message body text (closes #1484148) 9 10 10 11 -
program/steps/mail/sendmail.inc
rf115416 ra23884b 259 259 // add a plain text version of the e-mail as an alternative part. 260 260 $h2t = new html2text($message_body); 261 $plainTextPart = $h2t->get_text();261 $plainTextPart = wordwrap($h2t->get_text(), 998, "\r\n", true); 262 262 $MAIL_MIME->setTXTBody($plainTextPart); 263 263 … … 267 267 else 268 268 { 269 $message_body = wordwrap($message_body, 75, "\r\n"); 270 $message_body = wordwrap($message_body, 998, "\r\n", true); 269 271 $MAIL_MIME->setTXTBody($message_body, FALSE, TRUE); 270 272 } … … 287 289 288 290 // encoding settings for mail composing 289 $message_param = array('text_encoding' => $transfer_encoding, 290 'html_encoding' => 'quoted-printable', 291 'head_encoding' => 'quoted-printable', 292 'head_charset' => $message_charset, 293 'html_charset' => $message_charset, 294 'text_charset' => $message_charset); 291 $message_param = array( 292 'text_encoding' => $transfer_encoding, 293 'html_encoding' => 'quoted-printable', 294 'head_encoding' => 'quoted-printable', 295 'head_charset' => $message_charset, 296 'html_charset' => $message_charset, 297 'text_charset' => $message_charset, 298 ); 295 299 296 300 // compose message body and get headers
Note: See TracChangeset
for help on using the changeset viewer.
