Save emails as file

We are writing a program to send out order confirmations when a person orders a product.

Every time a customer makes an order it sends an email to webOrders@blahblah.com. The Exchange server will automatically archive these emails to an EML file or save them to a text file or somthing. Our program will check every few minutes for new orders and email out confirmations.

The problem with this is that I don't know how to archive all emails sent to a specific mailbox.
Anyone know if there is a way that I can do this?
LVL 2
David11011Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AkhaterCommented:
there is no way to let exchange save emails to an eml or text file
0
David11011Author Commented:
Bah, there's always a way. I know that all the emails that are sent through the mail go through a virtual SMTP server and that server saves the emails in a .EML file for a brief moment in the queue folder before it  sends it out.

 I could create a new VSMTP server on a different IP that I could use to only send the emails to the webOrders@blahblah.com address so that it would place EML files in a different queue folder than the rest of our mail. The only problem I would have to tackle here is figuring out how to get the emails to sit in the que folder long enough be copied out to another location.

Any ideas?
0
AkhaterCommented:
it would be much neater to change your program to retrieve pop3 from the webOrders@blahblah.com mailbox
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David11011Author Commented:
Holy Crap! that never even crossed my mind. I figured that pulling POP3 emails off of a mailserver would be hours of coding but I just at someone else's code and it look like I can do that fairly easily. I'll give it a try and post back. ty
0
David11011Author Commented:
I wrote program that pulls all the emails from the mailbox via POP3 and saves them into to text files. The only problem I'm having is deleting the emails off of the mail server. I will post for hep with that in the programming section.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.