Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Select duplicate messages in Mail' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Select duplicate messages in Mail
Authored by: GaelicWizard on Dec 03, '05 07:51:36PM
Here's another problem you might run into: Some e-mails, from misbehaving servers, might not have message id's!!! This script doesn't check for a blank message id, and will list all (minus one) as duplicates!

The trick is to replace the following:

		if mids contains i then

With:

		if (length of i) = 0 then
			--display dialog "This message does not have a Message-id." buttons {"OK"} default button 1 with title (subject of eachMessage as string)
		else if mids contains i then


Then, it will ignore messages with blank ids. Unfortunately, you might have duplicates with blank ids, and this will not detect them.

JP

---
Pell

[ Reply to This | # ]