That said, the whole point of verifyMailAddresses is to throw a nice error
message :)  We should probably patch it to return a suitably nice message
rather than ArrayStoreException.  I wrote the code and I didn't even know
what it meant. Glad you figured it out.

Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/
----- Original Message -----
From: "Danny Angus" <[EMAIL PROTECTED]>
To: "James Users List" <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2002 3:04 PM
Subject: RE: myRemoteDelivery, JAMES2.0a2


> Bingo ..! you just gave yourself away ;-)
>
> > my collection of String recipients:
>
> recipients is a Collection of org.apache.mailet.MailAddress 'es
> MailAddress has a constructor which takes a String argument so this line
> will add a String email address to the Collection correctly..
>
> recipients.add(new MailAddress(StringAddress));
>
> If the javadocs are misleading feel free to submit a patch..
>
> d.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to