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
_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers