Re: Secure delete of Mail's trash and junk
Re: Secure delete of Mail's trash and junk
- Subject: Re: Secure delete of Mail's trash and junk
- From: Irwin Poche <email@hidden>
- Date: Sat, 15 Apr 2006 05:30:15 -0500
tell application "Mail" to set mailbox of (every message of junk mailbox) to mailbox "Trash"
On Apr 14, 2006, at 8:13 PM, Irwin Poche wrote:
I working on a "clean up" script to move a number of files/folders to the trash so that I can do a Secure Empty Trash of them. I want to do this with Mail's junk and trash.
From ~/Library/Mail trashing folders with the words "Deleted Messages" in the name was successful. Not so with the Junk folders. Junk mail was still present in Mail but they appeared in the inboxes. The Junk folder (that Mail itself displays in the GUI) was empty. Recreating the deleted Junk folders brought everything back to normal.
Telling Mail to move it's junk mail into its trash would be another solution but I'm not sure how to go about that. The other solution would be trashing the correct files/folders ~/Library/Mail but I now believe that is not a viable solution.
Ideas anyone ?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden