• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

Server Automatization Using .NET

hi,
how is it possible to automate Server/IIS so that when new email is recieved in incoming mail folder automaticaly put that mail into the database or move to the other folder or do something else...
BTW, I will be using ASP.

thank you
 dave
0
davidlars99
Asked:
davidlars99
  • 8
  • 5
1 Solution
 
Bob LearnedCommented:
It sounds like you might be talking about watching an Exchange inbox folder for new mail.  Is that what you are looking for?

Bob
0
 
davidlars99Author Commented:
yes, something like that, but my hosting company uses QMail Server not Exchange, but It will be really good if you sow me example for Exchange :)

thanks
0
 
davidlars99Author Commented:
TheLearnedOne, have you come up with any ideas...?  :)
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Bob LearnedCommented:
Too many questions to answer, and too little time.  Sorry for not getting back to you.  I don't have any handy, and I couldn't quickly find an answer.  I thought that I could, but I was wrong.

Thanks for the gentle nudge.

Here is one place to look:

Microsoft Office XP Technical Articles  
Developing .NET Smart Clients for Microsoft Office XP
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/odc_dnscof.asp

Look at the bookmark "Creating and Working with Office Objects".

Bob
0
 
davidlars99Author Commented:
TheLearnedOne, sorry for the bed news, but that doesn't work...
0
 
Bob LearnedCommented:
What doesn't work?

Bob
0
 
davidlars99Author Commented:
0
 
davidlars99Author Commented:
I'm not familiar with [Web Services], but can they do what I need?
0
 
Bob LearnedCommented:
I don't have specific knowledge from having accomplished this particular requirement, but my first guess is maybe, but it would require some work.  First of all, you could use Outlook automation to open an Inbox, and subscribe to a New Item event.

Bob
0
 
davidlars99Author Commented:
hey, hey, hey.... sounds like a good start. I setup outlook when mail contains an attachment, outlook moves that attacment to the folder which I created, but only problem is that, the folder which stores these attachments is nowhere to be found (it's visible only in outlook). is there any way to see programaticaly these attachments? I mean using some serverside language and display them on the website...?
0
 
Bob LearnedCommented:
It would probably be easier to determine the possibilities if you attempt this on any easy platform, such as a small Windows Form application, and then move to the web service stuff later.  It will remove a lot of possibilities for failure, in order to determine the best course of action.

I was talking about the ItemAdd event for an Inbox or folder:

Microsoft Outlook Programming: Jumpstart for Administrators, Developers, and Power Users
11.5 Folders and Items events
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnolbk02/html/odc_ch11olevents.asp

Bob
0
 
davidlars99Author Commented:
> I thought that I could, but I was wrong.

that's what you said, so you were wrong once again twice...   :) well, let me thank you for your advice and guidance thru this problem and I appraciate you effort. :)
0
 
davidlars99Author Commented:
TheLearnedOne,

I figured it out, you have to use "FileSystemWatcher" class and little bit of .NET Network programming techniques, i.e. reading a mail from the server
0
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.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 8
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now