Link to home
Start Free TrialLog in
Avatar of JAWC
JAWCFlag for United Kingdom of Great Britain and Northern Ireland

asked on

a script to move oldest email messages from the inbox to another folder

I am looking for a script that search for the oldest email messages (by date) and move what found to another folder, lets call it back up. also a check should occure to find out if the backup folder exist if not create one.
Avatar of Stephen
Stephen
Flag of United States of America image

I use the software from Pergenex called Auto-Mate.

It lets you choose exactly what criteria to search for and you can specify how long you want the email to sit in your inbox before it moves it out. I set things like newsletters to automatically delete after 2 days, etc. It only works with Outlook unfortunately, so to use it on my Gmail account, I have my Gmail setup as IMAP in Outlook. Hope this helps.

http://www.pergenex.com/index.shtml
Avatar of JAWC

ASKER

thank you for the suggestion. unfortunately we are not able to purchase software
No need to purchase. This free tool can do that easily, just configure required data range:
http://www.outlookfreeware.com/en/products/all/OutlookFolderMerge/
Avatar of JAWC

ASKER

Thankyou thims. it did not work I am afraid
a script to take all the 'old' mails and move them.

1. How will date and folders be defined?
2. How is the script to be triggered?

Chris
JAWC, what exactly did not work?
Avatar of JAWC

ASKER

Hi thims
it did not do what we wanted to do.it does come out with errors.
JAWC you can always contact OutlookFreeware.com team on their forum. They will be happy to help you.
As are we! ... if you want a script then please advise so it can be set up accordingly and otherwise i'll assume you dont.

Chris
Avatar of JAWC

ASKER

Hi Chris, a script to take all the 'old' mails and move them. Yes

1. How will date and folders be defined? anything older then 5 month
2. How is the script to be triggered? a vbscript or by macro.

Thank you for your help
The trigger ... a VBS cannot do so as outlook doesn't support that but the question was within outlook VBE are you comfortable with running a macro we provide?

Chris
Which folder(s) since that affects the mechanism

Chris
ASKER CERTIFIED SOLUTION
Avatar of Chris Bottomley
Chris Bottomley
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JAWC

ASKER

I just looked at the security settings macro will not work.
ENable the macros then, or are you saying that your IT have disbled you from running scripts ... because if so a script as requested can never work!

Chris
Avatar of JAWC

ASKER

Thank you this is excellent. We have a good start.