Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

King Luis

macrumors 6502
Original poster
Jul 3, 2008
372
4
So I bought my parents a mac mini not to long ago and i have saved all the emails (.eml files) in a folder. i found out how to transfer them one by one by clicking on message then move to...

i want to create a script that will go through all 437 emails and import each one. the only problem is that i cannot figure out how to get the script to move to the next email in the list.

any ideas?

in short.

move emails in documents/emails folder to mail app inbox. files are in .eml format.
 
Have you tried just selecting them all and only doing it once?

More specifically, what exactly are you TRYING to do? What's the purpose of moving the emails one-by-one?
 
basically when you open the email, you click on message then say move to and i choose my ISP mailbox. what that does is it imports that message to my mail application.

i want to move all my emails that i have backed up from my parents old pc in the mail application so they can easily go back and find emails.

easy way to describe it:

save an email on your desktop as a .eml file.

close all apps.

open the .eml file and on the top bar click on messages then move to then your mailbox name.

after you do that it imports that eml file to your mail application.
 
So I bought my parents a mac mini not to long ago and i have saved all the emails (.eml files) in a folder. i found out how to transfer them one by one by clicking on message then move to...

i want to create a script that will go through all 437 emails and import each one. the only problem is that i cannot figure out how to get the script to move to the next email in the list.

any ideas?

in short.

move emails in documents/emails folder to mail app inbox. files are in .eml format.

Importing emails is a lot simpler if it's done on a whole mailbox or series of emails. I don't know if you can get the old email program to do it, but exporting or saving to mbox format would making importing to Mail.app trivial. There's a menu item for that: Import Mailboxes... under the File menu. It can even import from another Mail.app mailbox.
 
Importing emails is a lot simpler if it's done on a whole mailbox or series of emails. I don't know if you can get the old email program to do it, but exporting or saving to mbox format would making importing to Mail.app trivial. There's a menu item for that: Import Mailboxes... under the File menu. It can even import from another Mail.app mailbox.

wouldn't that require entourage or something like that? i don't have that program.

anyone else?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.