How do I use VB2005 to get email and save the attachment to a specific folder?

I want to create an email account that's soul purpose is to receive emails from people in our accounting dept.  The email will have a PDF attachment called something like BalanceSheet_CompanyNo123_200904.PDF.  I need to put it in the appropriate folder.  In this case: ...\CompanyNo123\2009\04\BalanceSheet_CompanyNo123_200904.PDF.  Then I will create a web application that based on the login will show links to the reports the user has access too.
jamestiemanAsked:
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.

MogalManicCommented:
Are you using a POP email server, IMap email server or Exchange?

If it is an exchange server then you can use Office Interop solution and talk to the Exchange API directly.

0
jamestiemanAuthor Commented:
It is a POP server.
I purchase a new server with Windows 2003 Server software and SS2005 to hold the files and database.   The app will get the mail, save the attachment and record the location in the database.  The database will also be used to determine who has access to what reports based on login.
0
MogalManicCommented:
You will basically have to write a mini email client.  There are no built in API's for receiving emails only sending.  Here are some examples of email clients:
  http://www.codeproject.com/KB/IP/despop3client.aspx
  http://www.jscape.com/articles/retrieving_email_pop3_csharp.html (using a commercial product)
  http://www.chilkatsoft.com/email-dotnet.asp (another commercial product)
  http://dotnetctrlext.sourceforge.net/ (open source email client)
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
jamestiemanAuthor Commented:
These will get me headed in the right direction. Thanks.
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
Email Protocols

From novice to tech pro — start learning today.