<<< Date Index >>>     <<< Thread Index >>>

Re: Schedule messages to be sent later



Hallo Ajeet,

Ajeet <asgrewal@xxxxxxxxx> wrote:
> Is there some way to send messages at a particular time in the future?  
> This could be done by just "pipe"-ing in the right parameters to the 
> linux "at" command. How do I specify the subject,to,cc etc. in the 
> "pipe" command?

Why not use a different sendmail command and only schedule the delivery
of the message. Something similar to this:

sendmail="(echo sendmail -oem -oi \"$@\"; cat) | at"

Regards, Jörg.
-- 
Die zehn Gebote Gottes enthalten 172 Wörter, die amerikanische
Unabhängigkeitserklärung 300 Wörter, die Verordnung der europäischen
Gemeinschaft über den Import von Karamelbonbons exakt 25911 Wörter.