Re: Question about exporting email addresses from Apple Mail app

2012-01-17 Thread Len Gerstel


On Jan 16, 2012, at 4:59 PM, Bruce Johnson wrote:



On Jan 16, 2012, at 2:12 PM, Len Gerstel wrote:

My google fu is week here. Running Apple Mail 2.1.3 on 10.4.11,  
but have access to a 10.6 if that has a better answer.


snip


Short of importing the whole 14,000 into AddressBook, then  
exporting them from there, are there any options? I already  
converted the .emlx files to an mbox, but am not having luck  
exporting from there.


geeky way to do it:

http://www.perlmonks.org/?node_id=731859

I R A Perl haxor, all nails must be hit with the perlhammer. It  
looks like the Email::Address CPAN module does what you want.


To install the module do (In terminal)

sudo cpan install Email::Address

And accept all the defaults...

Also the 'previous recipients' data might be exportable with some  
terminal hackery:


http://hints.macworld.com/article.php?story=20110516152604993


Thanks, and I bow to your HAXORness. I installed Perl and  
Email::Address as per the instructions, but my eyes glazed over  
pretty quickly.


After some more googling I came across http://andreasamann.com/MacOSX/ 
Mail_Scripts which does it from address Book


I figured I would give it a shot. Selected 14,547 messages in Mail  
and selected Add Sender to Address Book, then let my dual 2.0 G5  
churn for a while. Address book deduped them, so left with 3,152  
cards. Then ran Export Addresses (Address Book) from the site above's  
scripts and let that churn.


Total time trying to find a one step solution from mail, both active,  
including searching, and computer churning was about 4.5-5 hours  
through all the variations I tried.


Total time once I accepted a 2 step solution going through Address  
Book, about 40 min. 10 of that was active, the rest churn time.


Len



--
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: Question about exporting email addresses from Apple Mail app

2012-01-16 Thread Bruce Johnson

On Jan 16, 2012, at 2:12 PM, Len Gerstel wrote:

 My google fu is week here. Running Apple Mail 2.1.3 on 10.4.11, but have 
 access to a 10.6 if that has a better answer.
 
 What I am trying to do is export the email addresses only from one account in 
 one mailbox. ie: In my inbox I have my gmail, comcast and business accounts. 
 I want to export only the email addresses in the inbox for my business 
 account.
 
 Everything I am finding is talking about exporting from AddressBook, which I 
 don't use except by accident. It only has about 75 contacts. I have 14,000 
 email messages in my business email in box, with probably 1500 unique 
 addresses. I can dedupe the addresses, but I have to get them out first.
 
 Short of importing the whole 14,000 into AddressBook, then exporting them 
 from there, are there any options? I already converted the .emlx files to an 
 mbox, but am not having luck exporting from there.

geeky way to do it:

http://www.perlmonks.org/?node_id=731859

I R A Perl haxor, all nails must be hit with the perlhammer. It looks like the 
Email::Address CPAN module does what you want.

To install the module do (In terminal)

sudo cpan install Email::Address 

And accept all the defaults...

Also the 'previous recipients' data might be exportable with some terminal 
hackery:

http://hints.macworld.com/article.php?story=20110516152604993


-- 
Bruce Johnson

Wherever you go, there you are B. Banzai,  PhD

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list