jstedfast / MailKit

A cross-platform .NET library for IMAP, POP3, and SMTP.
http://www.mimekit.net
MIT License
6.15k stars 817 forks source link

Away Notes and Meeting invitations #701

Closed mbeckenbach closed 6 years ago

mbeckenbach commented 6 years ago

Hi,

Im fetching mails via pop3. Is there a best practice way to detect away notes and meeting invitations.

I guess the meeting invitations could be detected by checking if there is an attachment with an .ics file. But what about away notes? Those look different depending on the sender, correct?

Thanks in advance

Max

jstedfast commented 6 years ago

I think you're probably on the right track for meeting invites, but I'm not at all familiar with away notes. The ones I've seen are just normal text messages with some sort of blurb about being away, so that doesn't sound like something that would be easy to recognize without a serious risk of false positives and/or false negatives.

I guess if you are writing this for a particular office where all of the employees use the same template for their away notes, then that might be doable. Other than that, it sounds like you'd need a natural language parser and/or some sort of bayesian-like filter.

Good luck, I hope you find a solution...

mbeckenbach commented 6 years ago

Outlook shows a special icon for away notes. There must be something to detect it. Maybe I should have a look at some headers from different mail servers.

Beste Grüße Max Beckenbach

Am 19.04.2018 um 15:48 schrieb Jeffrey Stedfast notifications@github.com<mailto:notifications@github.com>:

I think you're probably on the right track for meeting invites, but I'm not at all familiar with away notes. The ones I've seen are just normal text messages with some sort of blurb about being away, so that doesn't sound like something that would be easy to recognize without a serious risk of false positives and/or false negatives.

I guess if you are writing this for a particular office where all of the employees use the same template for their away notes, then that might be doable. Other than that, it sounds like you'd need a natural language parser and/or some sort of bayesian-like filter.

Good luck, I hope you find a solution...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jstedfast/MailKit/issues/701#issuecomment-382742560, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGWJtCC-hytgHBLwkcOL7rIl43A1PHZcks5tqJXDgaJpZM4TbSA9.