Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET POP3

 AfterLogic Forum : MailBee.NET POP3
Subject Topic: Auto reply details Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
sushanth
Newbie
Newbie


Joined: 12 December 2013
Online Status: Offline
Posts: 6
Posted: 12 December 2013 at 11:07pm | IP Logged Quote sushanth


Hi,

How can i identify whether a mail is an auto reply or not using mailbee pop3 object.

i need to read the mails from mail box and need to identify whether a mail is a auto reply like "Out Of office" auto reply set in outlook, so that i can filter those mails and not process them.

Please advice.

Thanks
Sushanth.B
Back to Top View sushanth's Profile Search for other posts by sushanth
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 13 December 2013 at 2:00am | IP Logged Quote Igor

You can use our BounceMail component here. Of course, there is a huge variety of those autoresponse message and there's no standard there, but it can help you with the most typical ones, at least.

DeliveryStatusParser is the core class of the component, and the example on its documentation page shows how to get information about the nature of the mail, DetailedType specifically: for autoresponse, it will be DetailedType.AutoReply value.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
sushanth
Newbie
Newbie


Joined: 12 December 2013
Online Status: Offline
Posts: 6
Posted: 18 December 2013 at 12:48am | IP Logged Quote sushanth

Dear Igor,
Thanks for the reply.

I have few points to clear ie if we are using DeliveryStatusParser class then we have to map the xml file for bounced data.

Is there any other method like read the specific details from headers like
a) x-auto-response-suppress
b) x-autorespond
c) precedence
d) auto-submitted

While checking the header of a auto replied mail i also found the header
Return-Path repeated two times like

a) Return-Path:someone@domain.com
b) Return-Path:<someone@domain.com>

but for a normal mail the header is Return-Path:someone@domain.com and coming only once.

Can we identify the auto reply mails from the above header details.

Please advice

Thanks
Sushanth.B
Back to Top View sushanth's Profile Search for other posts by sushanth
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 18 December 2013 at 1:18am | IP Logged Quote Igor

To put things shortly, BounceMail components analyzes mails based on variety of conditions, templates and search patterns. It's technically impossible to guarantee recognition of a random mail. You can certainly add your own processing rules in your code, in addition to or instead of using BounceMail. However, that will require analyzing a large number of mails to prevent from false positives. For instance, bouncemails which are not autoresponces can still have multiple Return-Path entries, especially if they contain extract of the original mail message.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide