Sometimes, you might wish to delay the sending of a message. For
example, you might wish to arrange for a message to turn up just in time
to remind your about the birthday of your Significant Other. For this,
there is the
gnus-delay package. Setup is simple:
Normally, to send a message you use the C-c C-c command from
Message mode. To delay a message, use C-c C-j
gnus-delay-article) instead. This will ask you for how long the
message should be delayed. Possible answers are:
42dmeans to delay for 42 days. Available letters are
YYYY-MM-DD. The message will be delayed until that day, at a specific time (eight o'clock by default). See also
hh:mmformat, 24h, no am/pm stuff. The deadline will be at that time today, except if that time has already passed, then it's at the given time tomorrow. So if it's ten o'clock in the morning and you specify
11:15, then the deadline is one hour and fifteen minutes hence. But if you specify
9:20, that means a time tomorrow.
The action of the
gnus-delay-article command is influenced by a
couple of variables:
The way delaying works is like this: when you use the
gnus-delay-article command, you give a certain delay. Gnus
calculates the deadline of the message and stores it in the
X-Gnus-Delayed header and puts the message in the
And whenever you get new news, Gnus looks through the group for articles
which are due and sends them. It uses the
function for this. By default, this function is added to the hook
gnus-get-new-news-hook. But of course, you can change this.
Maybe you want to use the demon to send drafts? Just tell the demon to
gnus-get-new-news-hook. But it accepts the optional second argument
no-check. If it is non-
gnus-get-new-news-hookis not changed. The optional first argument is ignored.
(gnus-delay-initialize nil t) means to do nothing.
Presumably, you want to use the demon for sending due delayed articles.
Just don't forget to set that up :-)
When delaying an article with C-c C-j, Message mode will
automatically add a
"Date" header with the current time. In
many cases you probably want the
"Date" header to reflect the
time the message is sent instead. To do this, you have to delete