Here is my observations regarding embedding images in email campaigns for SugarCRM 5.5.1-RC2

Image can no longer be embedded at mail sending, even it the mail template interface shows the embedded image. In the received mail, the image is "shown" as:

<img src=3D"index.php?entryPoint=3Ddownload&id=3D46ac72 60-2f68-238=d-b63a-4b85fe167222&type=3DNotes" alt=3D"" />

instead of:

<img src="cid:7b476abd-f12e-144a-1352-4b7879584124.png" alt="" /> (with the image encoded later in the mail)

It was OK in 5.5.0

Another related problem. When trying to create the mail during campaign creation, I can't use the paperclip icon to embed an image. If I try it, I'm getting the following javascript error:

sugar_cache_dir ir undefined

I "patched" the file modules/EmailTemplates/EditView.html by adding, at line 53, the following line:

var sugar_cache_dir = 'cache/';

If I go back into the email creation (from the campaign module), I can now use the paperclip icon, as I can do when creating an email template outside if the campaign creation.

I know this isn't a useable patch, since I hardcoded something instead of using the cache_dir variable from config.php. I don't know which file I should update to create a "real" patch. This does not, anyway, allows real image embedding, since the img src is not created correctly, nor the image get coded.

Christian...