On 1/26/01 10:36 AM, "Allen Watson" <[EMAIL PROTECTED]> wrote:

> On or near 1/26/2001 9:56 AM, R. Scott Ohlgren at [EMAIL PROTECTED]
> observed:
> 
>> When ever I send a message to a large group of my Address Book, I find that
>> the easiest way to do that is via the Custom View. I¹ll highlight all names
>> in one particular sub set, and drag them into my message. If I have multiple
>> sub sets I¹m dragging in, a problem arises when I have some people
>> associated to multiple sub sets. They end up getting the message 2 or 3
>> times. 
>> 
>> Has anyone written a script that checks the emails of a message for
>> duplicates, before one sends the email?
>> 
> Hm. Interesting idea.
> 
> Answer is, no, I don't think so. But if Paul read your message, it's
> probably already done. The script would just set a variable with a list of
> the E-mail addresses being used for each recipient, and then look for
> duplicates. Shouldn't be too hard. I wouldn't match on actual names, since
> often I have people who want to receive two copies of mail at different
> addresses (e.g., work and home). If Paul does not get to it, I'll put it on
> my back burner...


It's doable, but a little messy. The only way you can remove recipients is
parsing the long "to recipients", "CC recipients" and "BCC recipients" text
strings of a draft window (which is what you have here, so that's OK). So
the handy "whose" filtering of message recipient addresses is not applicable
here. When you drag a contact to a draft window this will always translate
to the display name plus the _default_ email address, which makes it easier
- unless you have someone entered as a non-contact (with the @ sign) with a
non-default address as a group member - which makes it harder. If you drag
groups into message windows, which people do, this makes it harder because
you might have some group members who aren't real contacts.

I can't do this today, but I will look at it tomorrow. There's a lot of text
parsing to be done.

-- 
Paul Berkowitz


--
To unsubscribe:               <mailto:[EMAIL PROTECTED]>
To search the archives:
          <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to