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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check for new messages and save attachments

Status
Not open for further replies.

buddyel

MIS
Mar 3, 2002
279
US
I am trying to figure out the best way to check for new email messages on a pre-determined interval and if save the attachments to a particular location depending on sending address. I am not sure of the best way to handle this. I am using VB.NET 2005 and have VSTO as well.

I would like this to run even if the machine isnt logged in so I am assuming a Windows Service is required but I am not too concerned with that aspect at this time, just would be nice to implement from the beginning. If anyone can point me in the write direction, I am sure I can accomplish the code aspect.

Thanks in advance
 
A windows service would be your best bet for running the app while it the machine is logged out. What type of email server are you running? There are some SNTP objects in the framework, they should allow you to retrieve emails and attachments.

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
Our corporate mail server is Exchange 5.5. How would you handle this incorporating the SMTP objects?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top