phplist forums * View topic - [fix] FCKeditor issue with absolute links - read it ! - 2 views
-
Luciano Ferrer on 25 Oct 11Ugly, but simple... "File :lists/admin/sendemaillib.php Search for: Code: Select all # particularly Outlook seems to have trouble if it is not \r\n # reports have come that instead this creates lots of trouble # this is now done in the global sendMail function, so it is not # necessary here # if (USE_CARRIAGE_RETURNS) { # $htmlmessage = preg_replace("/\r?\n/", "\r\n", $htmlmessage); # $textmessage = preg_replace("/\r?\n/", "\r\n", $textmessage); # } But this code above. It simply find and replace to replace your local image path to absolute link : Code: Select all //convert local to remote $htmlmessage = str_replace('/lists/', 'http://www.domein.com/lists/', $htmlmessage);"