nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Responding to calendar requests


From: David Levine
Subject: Re: [Nmh-workers] Responding to calendar requests
Date: Wed, 24 Apr 2013 23:33:54 -0400

Lyndon wrote:

> Or have the script take a message number and let it
> extract the invite attachment for you.
> 
> I can't image you receiving a message with more than one invite in
> it, so if message 100 contains the invite, the rsvp script could
> accept a message number, dig in to find the appropriate mime
> section, parse the reply address, and compose/send an appropriate
> response.  E.g.  rsvp no 100.
> 
> And if you do think you might get more than one invite, extend the
> script to accept sub-part identifiers:  rsvp yes 100.3

That's the way to go.

Here's a message structure that I get occasionally:

 msg part  type/subtype              size description
4785       multipart/alternative      14K
     1     text/calendar             1785
     2     text/html                 4865
     3     text/plain                1962

mhshow ignores the text/calendar part.  If the message text
doesn't at least hint that it's there, I'll miss it.  Maybe
I could teach the scan highlighter to notice messages with a
text/calendar part?

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]