?
Solved

Server Automatization Using .NET

Posted on 2004-09-28
13
Medium Priority
?
175 Views
Last Modified: 2010-04-23
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
Comment
Question by:davidlars99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 5
13 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 12173922
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
 
LVL 13

Author Comment

by:davidlars99
ID: 12173998
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
 
LVL 13

Author Comment

by:davidlars99
ID: 12194106
TheLearnedOne, have you come up with any ideas...?  :)
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 96

Expert Comment

by:Bob Learned
ID: 12194153
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
 
LVL 13

Author Comment

by:davidlars99
ID: 12200591
TheLearnedOne, sorry for the bed news, but that doesn't work...
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 12200614
What doesn't work?

Bob
0
 
LVL 13

Author Comment

by:davidlars99
ID: 12200665
0
 
LVL 13

Author Comment

by:davidlars99
ID: 12200775
I'm not familiar with [Web Services], but can they do what I need?
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 12201243
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
 
LVL 13

Author Comment

by:davidlars99
ID: 12202291
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
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 12202339
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
 
LVL 13

Author Comment

by:davidlars99
ID: 12202526
> 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
 
LVL 13

Author Comment

by:davidlars99
ID: 14124983
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question