 |
 |
Transfer OS X Mail folders to Text?
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2004
Status:
Offline
|
|
Is it possible, or does something exist that I can Convert the individual OS X Mail Inboxes and/or Mail Folders or Export them somehow to Text Files?
I have a long list of repeating submissions in my Emails and I need to get them over to text and eventually XML.
Thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status:
Offline
|
|
AppleScript... I just took a look at Mail.app's dictonary, and here is a 30 second demo to get you started:
Code:
tell application "Mail"
tell the first account
tell the mailbox named "INBOX"
get the content of the first message
end tell
end tell
end tell
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2004
Status:
Offline
|
|
Hey, I'm thankful for the response... however, I'm not at all familiar with apple scripts... So, I guess a learning curve is in order... If you have any useful links and or tips, besides what I may find in OSX Help, please reply.
Do you think this work for folders too - such that I can target individual folders?
And what $ did you search for in Mail Help? I could not find this my first time around.
Thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
Originally posted by filips:
Is it possible, or does something exist that I can Convert the individual OS X Mail Inboxes and/or Mail Folders or Export them somehow to Text Files?
I have a long list of repeating submissions in my Emails and I need to get them over to text and eventually XML.
Thanks.
They're already text files. mbox files are just text files:
Code:
[dshaw@flybook ~] cd Library/Mail/Mailboxes/Filed/Saved.mbox/
[dshaw@flybook ~/Library/Mail/Mailboxes/Filed/Saved.mbox] ls -l mbox
total 21000
-rw------- 1 dshaw dshaw 9932875 29 Jun 01:15 mbox
[dshaw@flybook ~/Library/Mail/Mailboxes/Filed/Saved.mbox] file mbox
mbox: Non-ISO extended-ASCII mail text
|
|
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2004
Status:
Offline
|
|
OK. Thanks. If they are already text files, then that helps.
But I'm also not too familiar with the terminal command in your last line..
when you say "file mbox" what does that do exactly?
Is there a text program I can open a folder in to see all the emails at once?
So I can parse them for URL $'s?
Thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2004
Status:
Offline
|
|
All I had to do was select the emails > save as > text!!
DOH!!!!
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2000
Location: Amboy Navada, Canadia.
Status:
Offline
|
|
anyone know if Mail.app supports maildir or anything other than mbox?
|

This insanity brought to you by:
The French CBC, driving antenna users mad since 1937.
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2002
Location: Los Angeles, CA.
Status:
Offline
|
|
Will Tiger's Mail.app convert the current mbox format to maildir?
anyone confirm?
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|