I'm actually surprised you're getting 2 emails from James this way. The
recipient list in James is a Set, so duplicate email addresses should not be
possible. In fact, in a simple mailet I wrote that does aliasing, it has
trouble because the Set is throwing an exception if I try to alias to an
address already as the recipient (e.g., a message comes for
[EMAIL PROTECTED] and [EMAIL PROTECTED], and [EMAIL PROTECTED] is aliased
to [EMAIL PROTECTED]). I'd prefer the Set to not add the duplicate
silently, or let it add and then remove the duplicates at some point.
I don't know anything in the spec that says you should/shouldn't send
duplicates, but I would think you don't want to send duplicates... I can't
think of any reason why you'd want duplicates.
Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: "Harmeet" <[EMAIL PROTECTED]>
To: "james-user" <[EMAIL PROTECTED]>
Sent: Saturday, July 28, 2001 12:47 PM
Subject: how many emails should be recieved if there are duplicate addresses
> Question on how many emails should be recieved if duplicate recipient
> addresses are present.
>
> If there is an email that has
> a. my email address twice in the 'TO' address
> b. my email address in the 'TO' and 'CC' address
>
> In case 'a' one email is sent via Outlook Express. It looks like Outlook
> removes duplicates in the address field.
> In case 'a' 2 email is sent by directly invoking James Mail Repository.
>
> 2 emails are sent in case 'b'.
>
> Should there be duplicate recipient checks inside James ?
> I don't think RFC's talk about duplicates. Do you know something about
this
> ? What do you think makes sense ?
>
> Harmeet
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]