Solved

how to monitor incoming email and parse it

Posted on 2014-12-05
9
180 Views
Last Modified: 2016-08-21
here's my goal
i want to monitor incoming email and parse each email
I'm skilled developer with vs.net or jscript
Any suggestions on where to start?
0
Comment
Question by:glenn_r
9 Comments
 
LVL 69

Assisted Solution

by:Éric Moreau
Éric Moreau earned 250 total points
ID: 40483240
I do something like in a mailbox I have to monitor.

I use http://www.limilabs.com/mail to read emails.

the application is scheduled (in Windows Task Scheduler) to run every 15 minutes. Once an email has been processed, I delete it.
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40483244
First consideration is the format the emails will be in, html,RTF, plain text....
Secondly knowing what your looking for and is this just a single mailbox?  In outlook? Parsed as arrives where? how?

You need to provide a few more details first.
0
 

Author Comment

by:glenn_r
ID: 40483253
not outlook
single mailbox
basically want to parse subject and message body of emails as they are delivered
was hoping to find some sort of service with a hook
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40483261
Service with a hook on what? exchange?  You said no outlook so what has the hook?
Again, more info please.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:glenn_r
ID: 40483275
no exchange server
not in outlooks
want to avoid an office development addin

i'd like to create a service that invokes an operation every 1 minute to check for new emails
if found i want to parse each email and action something in some other sub-system

if it only possible in .net via some 3rd party class library then thats fine but i'd also like to know if its possible to do something open source with jscript
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40483282
Anything is possible once we know what it is your doing!

So you want to actually collect the email from a remote mail service as part of the process? POP3 account?
What do you do with emails as they are processed? throw them away? store them? forward them on somewhere?
0
 

Author Comment

by:glenn_r
ID: 40483298
as mentioned in a prev post http://www.limilabs.com/mail does what i want it to do but i would also like to implement something similar independently of .net if possible.
0
 
LVL 37

Accepted Solution

by:
Neil Russell earned 250 total points
ID: 40483316
OK then in that case head over to sourceforge and get the free OpenPop.NET code for visual studio.
Its available on  http://hpop.sourceforge.net/
0
 

Expert Comment

by:Tom Kincheloe
ID: 41764752
There are also a couple of Apps that do this reliably.

One that is pretty simple is https://parser.zapier.com/

Another that has more flexibility, and allows you to chain parsing rules and filters is https://mailparser.io/
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now