Community Discussions and Support
Can't delete images from messages

I would love to be able to delete attached images I've already saved from my Pmail messages. I go to attachments, hit delete icon, get warning message, delete, see size of message go from megabytes to a couple bytes, go to message window and size of message is again megabytes and attachment is still there.


Any suggestions would be welcome. It would reduce the size of the Pmail files by gigabytes if I could only delete large attachments!


Image 2 is screenshot of attachment window AFTER the image file is supposed to have been deleted.


TIA,


Molly (AKA AntRhonda)68542a1bd59bf
68542a1c68633


I would love to be able to delete attached images I've already saved from my Pmail messages. I go to attachments, hit delete icon, get warning message, delete, see size of message go from megabytes to a couple bytes, go to message window and size of message is again megabytes and attachment is still there. Any suggestions would be welcome. It would reduce the size of the Pmail files by gigabytes if I could only delete large attachments! Image 2 is screenshot of attachment window AFTER the image file is supposed to have been deleted. TIA, Molly (AKA AntRhonda)![68542a1bd59bf](serve/attachment&path=68542a1bd59bf) ![68542a1c68633](serve/attachment&path=68542a1c68633)

You can only delete attachments of messages located in the new mail folder: Move them back to it and try again.


You can only delete attachments of messages located in the new mail folder: Move them back to it and try again.
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C
edited Jun 19 at 9:58 pm

The same thing happens when I try to delete an attachment (a .jpg image) from a message in the New Mail folder. The file is still there when I go back to message view.


The same thing happens when I try to delete an attachment (a .jpg image) from a message in the New Mail folder. The file is still there when I go back to message view.

The same thing happens when I try to delete an attachment (a .jpg image) from a message in the New Mail folder. The file is still there when I go back to message view.


Yes it is. This is an interesting phenomenon that I had never noticed until just now when I duplicated it and then figured out that the image you still see is the IERenderer cached copy. You can delete an image attachment, no longer see it listed in the Attachment tab, see the message size reduce accordingly, and yet still see the image when you open the message. I assume the image will not longer appear once its file is removed from the IER image cache, which IIRC has a default life of 31 days, configurable in IER configuration.


Michael, please consider the feasibility of image attachment deletes also deleting from the image cache.


[quote="pid:57754, uid:41025"]The same thing happens when I try to delete an attachment (a .jpg image) from a message in the New Mail folder. The file is still there when I go back to message view.[/quote] Yes it is. This is an interesting phenomenon that I had never noticed until just now when I duplicated it and then figured out that the image you still see is the IERenderer cached copy. You can delete an image attachment, no longer see it listed in the Attachment tab, see the message size reduce accordingly, and yet still see the image when you open the message. I assume the image will not longer appear once its file is removed from the IER image cache, which IIRC has a default life of 31 days, configurable in IER configuration. Michael, please consider the feasibility of image attachment deletes also deleting from the image cache.

You need to do this in a stand-alone reader window and close the message afterwards which should ask for confirmation of saving changes. Please note that images might still show up unless wiping IER's image cache although they have been removed from the message. The attachment tree should show a plain text attachment instead of the previous image with the description Deleted section like this:


685497ea3df34


You need to do this in a stand-alone reader window and close the message afterwards which should ask for confirmation of saving changes. Please note that images might still show up unless wiping IER's image cache although they have been removed from the message. The attachment tree should show a plain text attachment instead of the previous image with the description _Deleted section_ like this: ![685497ea3df34](serve/attachment&path=685497ea3df34)
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

Michael, please consider the feasibility of image attachment deletes also deleting from the image cache.


Problem is that IER doesn't get notified about deleting attachments let alone which ones. Even if I would not create hashed names it wouldn't help since Pegasus Mail supplies attachment files using random temporary names. No chance without David Harris modifying attachment deletion.


PS: Default cache-time is a single day being reset on reuse (see IER's according help text section).


[quote="pid:57755, uid:28772"]Michael, please consider the feasibility of image attachment deletes also deleting from the image cache.[/quote] Problem is that IER doesn't get notified about deleting attachments let alone which ones. Even if I would not create hashed names it wouldn't help since Pegasus Mail supplies attachment files using random temporary names. No chance without David Harris modifying attachment deletion. PS: Default cache-time is a single day being reset on reuse (see IER's according help text section).
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C
edited Jun 20 at 3:24 am

Another PS about one more issue with deleting cached images: How to figure out whether a certain message is still there but stored in a different folder? Having to search all folders for verifying is currently not feasible without creating a duplicate of Pegasus Mail's message database for tracking. It might become solvable with the new store to be introduced in Pegasus Mail v5, though.


Another PS about one more issue with deleting cached images: How to figure out whether a certain message is still there but stored in a different folder? Having to search all folders for verifying is currently not feasible without creating a duplicate of Pegasus Mail's message database for tracking. It might become solvable with the new store to be introduced in Pegasus Mail v5, though.
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

Michael,


That was tremendously helpful. I'd like to add one thing: the size reduction doesn't show up until I exit Pegasus.


Also, you have to delete one file at a time if there are more than one in the attachment. (A bit disconcerting if selecting all when saving is on autopilot.)


I just tested by moving a file from Deleted Messages back to New Messages, deleting the attachment and exiting. That went smoothly.


I'm not sure if it has anything to do with deleting attachments or not, but when I was experimenting with deleting old files from other folders, PMail tried to compress the files and couldn't -- this was a folder and file I'd used as a trial before. I got the message when I opened the folder (because I ignored the check consistency message? Don't remember--) and when I'd moved it to New Mail, then to Deleted., Checking consistency (without re-indexing) seems to have fixed that.


I keep deleted messages after exit; deleting from deleted folder might be the solution.


(My system: 64 bit Win 10, if it's likely to matter6869712005fba
)


Michael, That was tremendously helpful. I'd like to add one thing: the size reduction doesn't show up until I exit Pegasus. Also, you have to delete one file at a time if there are more than one in the attachment. (A bit disconcerting if selecting all when saving is on autopilot.) I just tested by moving a file from Deleted Messages back to New Messages, deleting the attachment and exiting. That went smoothly. I'm not sure if it has anything to do with deleting attachments or not, but when I was experimenting with deleting old files from other folders, PMail tried to compress the files and couldn't -- this was a folder and file I'd used as a trial before. I got the message when I opened the folder (because I ignored the check consistency message? Don't remember--) and when I'd moved it to New Mail, then to Deleted., Checking consistency (without re-indexing) seems to have fixed that. I keep deleted messages after exit; deleting from deleted folder might be the solution. (My system: 64 bit Win 10, if it's likely to matter![6869712005fba](serve/attachment&path=6869712005fba) )

Also, you have to delete one file at a time if there are more than one in the attachment. (A bit disconcerting if selecting all when saving is on autopilot.)
I can confirm that. No matter how many graphics you select only the first selected is actually deleted. The button hint says otherwise.
6869b473e67da


[quote="pid:57806, uid:41025"]Also, you have to delete one file at a time if there are more than one in the attachment. (A bit disconcerting if selecting all when saving is on autopilot.)[/quote]I can confirm that. No matter how many graphics you select only the first selected is actually deleted. The button hint says otherwise. ![6869b473e67da](serve/attachment&path=6869b473e67da)

-- Euler

Pegasus Mail 4.81.1154 Windows 7 Ultimate
IERenderer: 2.7.2.8 AttachMenu: 1.0.2.0
PMDebug: 2.5.8.37 BearHTML 4.9.9.6

I can confirm that. No matter how many graphics you select only the first selected is actually deleted. The button hint says otherwise.


This has been mentioned before, I can't remember whether it ever used to work as announced in the past, though.


[quote="pid:57807, uid:2194"]I can confirm that. No matter how many graphics you select only the first selected is actually deleted. The button hint says otherwise.[/quote] This has been mentioned before, I can't remember whether it ever used to work as announced in the past, though.
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft