Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server-side script to access Imap store

Status
Not open for further replies.

klmnop

MIS
May 4, 2006
167
US
I need to build a script which will be run on a server, and which will:

1) access an IMAP store/client mailbox
2) copy any .txt attachments from email messages in the Inbox in this mailbox, to a network location
3) move processed emails to a \Processed folder in the mailbox (Inbox\Processed).

Limitations: This needs to run on a server, on which neither Outlook not Office will be installed.

Any suggestions would be greatly appreciated.
 
Without MAPI client software on the server I doubt you will be successful in your endeavor. You can script Outlook, but without such a client to log into the mailbox you have nothing to access the mailbox which is stored within the Exchange database.

I would investigate using a public folder to store the mail instead.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top