Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am using MIME Mail with Mime Mail CSS Compressor. The "Link images only" option has no affect. Images are still attached to the mails.
Comment | File | Size | Author |
---|---|---|---|
#4 | mimemail-1439918-1.patch | 575 bytes | sgabe |
Comments
Comment #1
sgabe CreditAttribution: sgabe commentedThe "Link images only" option allows you to disable embedding of images site-wide, so the images will be inserted in the message with an absolute path. I have just tested it, and it seems to work.
Comment #2
warappa CreditAttribution: warappa commentedMaybe you had the same problem I had: I left "Mail Mime" enabled (don't mix up "Mime Mail" with "Mail Mime")! After I disabled it images were added no more.
Comment #3
gagarine CreditAttribution: gagarine commentedSame problem. I add some image with absolute path in mimemail-message.tpl.php.
Look like that:
Those images are attached in the message as files making the mail heavy...
Modules:
Simplenews (simplenews) 7.x-1.0-rc1
Mail System 7.x-2.34
Mime Mail (mimemail) 7.x-1.0-alpha1+1 1-dev
Comment #4
sgabe CreditAttribution: sgabe commentedIf the file exists on the server as-is, _mimemail_url will be skipped, which would check if the image can be embedded.
Though I am attaching a patch, this needs to be postponed because this part of the code will be modified soon.
Comment #5
gagarine CreditAttribution: gagarine commentedthe patch #4 works for me. Thanks
Comment #6
gagarine CreditAttribution: gagarine commentedstill postponed?
Comment #7
sgabe CreditAttribution: sgabe commentedCommitted to the development snapshot.