Quoth Grant Edwards on Wednesday, 23 February 2011:
> A while back I was tinkering with a program that when piped an event
> invitation from an .ics attachment, it would generate (based on a
> command line option) an .ics accept/decline response that could then
> be sent back to the invitation sender.
> 
> I've also got some prototype code that can add events to a Google
> calendar using the gdata API, but I think I'm going ditch that in
> favor of the WebDAV API (which supports the .ics vCalendar format
> directly).
> 
> What I haven't figured out is how to hook this all up to Mutt.
> 
> The scenario I was imagining would be:
> 
>  1) While reading an "invitation" email with a .ics file attached, 
> 
>  2) Hitting a key to accept or decline would then,
> 
>  3) Pipe the .ics file through an external program who's output
>     would then be
> 
>  4) Attached to an reply e-mail that the user would could edit before
>     sending.
> 
> The external program would be given a command-line option determining
> whether the reply attachment would be an accept or a decline.
> 
> Is there plumbing in mutt that would allow such a scenario?
> 
> Another option would be to let the external program query the user as
> to whether the invitation should be accepted or declined.
> 
> A less desirable (but probably simpler to implemnet) option would be
> to manually pipe the attachment to the program and rather than having
> the program's output sucked back into mutt, the external program could
> send the reply e-mail.
> 
> -- 
> Grant Edwards               grant.b.edwards        Yow! How's it going in
>                                   at               those MODULAR LOVE UNITS??
>                               gmail.com            

Check out my approach: http://www.chipstips.com/?p=538

-- 
Sterling (Chip) Camden | [email protected] | 2048D/3A978E4F
http://chipsquips.com  | http://camdensoftware.com   | http://chipstips.com

Attachment: pgp61ocMFrT5R.pgp
Description: PGP signature

Reply via email to