Sidebar
×
Products
Pricing
Sign In
Blog
Euro
United States dollar
British pound
Japanese yen
Australian dollar
Brazilian real
Canadian dollar
Chilean peso
Chinese renminbi yuan
Danish krone
Hong Kong dollar
Indian rupee
South Korean won
Mexican peso
New Zealand dollar
Select Language
English
Albanian
Arabic
Belarusian
Bulgarian
Catalan
Chinese
Croatian
Czech
Danish
Dutch
Estonian
Finnish
French
Galician
German
Greek
Hebrew
Hebrew
Hindi
Hungarian
Icelandic
Indonesia
Italian
Japanese
Korean
Latvian
Lithuanian
Macedonian
Norwegian
Norwegian
Polish
Portuguese
Romanian
Russian
Serbian
Slovak
Slovenian
Spanish
Swedish
Thai
Turkish
Ukrainian
Vietnamese
Joobi
Support
Sign In
Home
Products
Joomla
Joomla Extensions
Explore
Mobile Apps
IOS and Android
Explore
Templates
eCommerce Templates
Explore
Web Hosting Bundle
Hosting + Joobi Apps + eCommerce Theme
Explore
Pricing
Downloads
Help
Ticket :
Images not embedded in mail #1A14TP-11PP
Back
Images not embedded in mail
Status:
Solved
ID:
1A14TP-11PP
If the extension of the image filename is not found correctly, the images are not embedded.
In ./administrator/components/com_jnews/classes/class.jmail.php, line ~452, the command: $fileParts = preg_split("/./", $filename);$ext = $fileParts[1]; searches for the extension of $filename. The command "preg_split" used to be "split", but "split" is depreciated. I think therefore it is change to "preg_split". The pattern is "/./", which is not correct for searching a dot. Please use: "/\./".
If $filename has more than one dot, $ext will be wrong. This can be solved to take the last one with:
$fileParts = preg_split("/\./", $filename);
$ext = $fileParts[count($fileParts) - 1];
Author:
zilvermeeuw
Created:
4 June 2011
Elapsed:
13 Years 10 Months
Replies
Details
Hi
Thank you for the information.
This will help us much to resolve if there are issues about the embedded mail images not working.
Kind regards,
Diego
Replied:
7 June 2011
Response:
3 Days 1 Hours
You are here:
Home