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: reader
Subject: Re: create emails from dairy entries
Date: Wed, 11 Jun 2008 09:02:22 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Bastien <bzg@altern.org> writes:

> 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'.

So are you using cron to read that function every few hours then?  Or
does the script get run from emacs diary somehow?

I guess `diary-mail-entries' only sends all diary entries for a specific
number of days... so not usefull for getting a mail alert about a
specific event?





reply via email to

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