On Fri, Nov 20, 2015 at 10:10 PM, Craig L Russell
<[email protected]> wrote:
> I noticed during the recent work that the email address in iclas.txt is out 
> of date with reality. At least a couple of addresses are in the sun.com 
> domain, clearly not current.
>
> How could I send email to the address in iclas.txt and also to all addresses 
> in mail aliases? Something like:
>
> to: [email protected] cc: 
> [email protected],[email protected],[email protected] reflecting both 
> the iclas.txt address plus all of the mail aliases.

First, this is not possible for entries with 'notinavail', but here
are a few things to explore.  The way I would recommend you explore
these values is to type "irb -r whimsy/asf" from the command line and
then enter the expressions listed below.

Here is how to find all email addresses:

ASF::Person.find('clr').all_mail

Here is how to remove the 'to' address:

ASF::Person.find('clr').all_mail - ['[email protected]']

Here is how to return the results as a comma separated string:

(ASF::Person.find('clr').all_mail - ['[email protected]']).join(',')

> Craig
>
> Craig L Russell
> Architect, Oracle
> http://db.apache.org/jdo
> 408 276-5638 mailto:[email protected]
> P.S. A good JDO? O, Gasp!

- Sam Ruby

Reply via email to