help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: create emails from dairy entries


From: Bastien
Subject: Re: create emails from dairy entries
Date: Wed, 11 Jun 2008 08:49:41 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux)

reader@newsguy.com writes:

> I didn't do any research on this ... mainly because I drew a blank
> trying to think where or how to start.
>
> It may be old hat to someone here:
>
>   Can I cause an email to be sent from the Emacs Diary when Appts or
>   other events roll around?
>
> Are there examples of doing this posted somewhere?

I've been using such a script:

,----
| #!/bin/sh
| 
| /usr/local/bin/emacs -batch -l ~/.emacs.el -eval '(org-batch-agenda ":")' \  
|   | mail you@erewhon.org
`----

Please refer to `org-batch-agenda' for details.  If you don't use Org,
you can use a diary function instead of `org-batch-agenda'.

-- 
Bastien




reply via email to

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