ICal-QuickAdd

 view release on metacpan or  search on metacpan

bin/iqa  view on Meta::CPAN

this might go in C<.profile> file:

 # qae = "Quick Add Event"
 # Here the default location of the Evolution groupware calander is used
 alias qae='iqa --to-ics ~/.evolution/calendar/local/system/calendar.ics';

=head2 From a console, Quick-Add an event by email (SMS)

 qar 'Tomorrow at noon. Lunch with Bob'

You are at your work computer but want to quickly add an event to a desktop
calendar accessible only from another computer. Use this tool to generate
an iCal event e-mail to yourself, which you can just click on to accept when
you get home.

 # qar = "Quick Add Remote"
 alias qar='iqa --to-email 'you@yourdomain.com' --smtp-host 'mail.yourisp.com'

=cut


bin/iqa  view on Meta::CPAN

            # SMS seems to want the content in the body. Supress adding a subject
            subject => '',
            body    => $iqa->parsed_string ,
        );
    }
    # We're done with the original incoming mail now.
    $iqa->from_email_obj->noexit(1);
    $iqa->from_email_obj->ignore;
}

=head1 Compatibility with desktop calendar software.

It may not be safe to inject an event into an ICS file that another program is
currently using.  For example, if you inject an event an ICS file that
evolution is managing while it is running. Also, these changes might not show
up right away in the running program, either.

=head2 Evolution

With Evolution, a safer option is to use the C<< --to-email >> option, and open
the message in Evolution. It will recognize it as a special kind of event



( run in 0.463 second using v1.01-cache-2.11-cpan-299005ec8e3 )