Changeset 141eb8a in github for program/steps/mail/sendmail.inc
- Timestamp:
- May 20, 2010 11:24:25 PM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- a2a3610
- Parents:
- dffcaa5
- File:
-
- 1 edited
-
program/steps/mail/sendmail.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/steps/mail/sendmail.inc
rdffcaa5 r141eb8a 96 96 /** 97 97 * go from this: 98 * <img src=" .../tiny_mce/plugins/emotions/images/smiley-cool.gif" border="0" alt="Cool" title="Cool" />98 * <img src="http[s]://.../tiny_mce/plugins/emotions/images/smiley-cool.gif" border="0" alt="Cool" title="Cool" /> 99 99 * 100 100 * to this: 101 101 * 102 * < IMG src="cid:smiley-cool.gif"/>102 * <img src="/path/on/server/.../tiny_mce/plugins/emotions/images/smiley-cool.gif" border="0" alt="Cool" title="Cool" /> 103 103 * ... 104 * ------part...105 * Content-Type: image/gif106 * Content-Transfer-Encoding: base64107 * Content-ID: <smiley-cool.gif>108 104 */ 109 function rcmail_ attach_emoticons(&$mime_message)105 function rcmail_fix_emoticon_paths(&$mime_message) 110 106 { 111 107 global $CONFIG; … … 438 434 $MAIL_MIME->setTXTBody($plugin['body']); 439 435 440 // look for "emoticon" images from TinyMCE and copy into message as attachments 441 $message_body = rcmail_attach_emoticons($MAIL_MIME); 436 // look for "emoticon" images from TinyMCE and change their src paths to 437 // be file paths on the server instead of URL paths. 438 $message_body = rcmail_fix_emoticon_paths($MAIL_MIME); 442 439 } 443 440 else {
Note: See TracChangeset
for help on using the changeset viewer.
