Monitoring incoming mail using .Net

RickH
Posts: 49
Joined: Tue Feb 08, 2005 4:23 pm

Monitoring incoming mail using .Net

Postby RickH » Sun Oct 18, 2009 8:35 pm

I would like to know what other developers think about monitoring incoming mail. Does it make sense to just use the file system object in .Net and look for new files appearing in the Mailenable inbox directories or instead use ME pickup events to instead inform an application that a new mail message has arrived? I am starting a new project and just trying to work this out in my head before I decide in either direction. I would like to respond ASAP when the message arrives so the file approach may be a little slower than the pickup event. What is your opinions?

RickH

RickH
Posts: 49
Joined: Tue Feb 08, 2005 4:23 pm

Postby RickH » Wed Oct 21, 2009 3:34 pm

Lots of views with no opinions. Keep in mind I am not asking you to solve the problem for me (I hate when people do that), I am just looking for opinions on how others have done this and what they recommend. Knowing an email has arrived to a certain mailbox or group of mailboxes sounds simple until you think about it for a while.

RickH

nukwa
Posts: 1
Joined: Mon Nov 09, 2009 11:22 am

Postby nukwa » Mon Nov 09, 2009 11:24 am

Hi RickH,

Did you ever get to the bottom of this? I am trying to figure out the same for processing incoming emails.

-nukwa

RickH
Posts: 49
Joined: Tue Feb 08, 2005 4:23 pm

Postby RickH » Mon Nov 09, 2009 12:15 pm

I have not. I am playing with a pickup event that will trigger a desktop application but I havent spent much time on it.

johnd34
Posts: 73
Joined: Thu Jul 29, 2004 10:43 am
Location: UK
Contact:

Re: Monitoring incoming mail using .Net

Postby johnd34 » Fri May 28, 2010 3:24 pm

My view is to use the MTA.
Monitor BEFORE it gets to the user.

Everybody I know that has done spam or virus protection starts there.

John
John D
JD Projects

Developer of E-Mailing Systems
West of England
Check out our email service built on mailenable
www.proserviceemail.co.uk
www.jdprojects.co.uk
www.smarterweb.co.uk

RickH
Posts: 49
Joined: Tue Feb 08, 2005 4:23 pm

Re: Monitoring incoming mail using .Net

Postby RickH » Fri May 28, 2010 11:45 pm

Isn't that what we were saying by using a pickup event? The MTA fires the pickup event.
Well things did work out for me. I have been running a console application that I created in VS 2008.
It is called with each incoming and outgoing email by the pickup event.
Works fine. Very low use server however. I am not sure if this would work for a heavily used server.

Who is online

Users browsing this forum: No registered users and 1 guest