Delayed messaging in email client

Brian McKee brian.mckee at gmail.com
Mon Oct 15 15:55:42 UTC 2007


On 15/10/2007, Rajiv Vyas <rajiv1 at gmail.com> wrote:
> This is not strictly a Ubuntu question, but has anyone come across an add-on
> or a script for an email client that helps you send an email at a preset
> date and time. So, I could write the email today but automatically send it
> three days from now at 9 am.

'at' will run any program at the specified time + date - lots of options too.

open a terminal, type

   at now +3 days

You'll get a '>' prompt - type

mail -s "Subject" email at address < path/to/file/with/mail/message.txt

then a period on a line all on it's own to end input.

kmail or evolution will let you send mail from the commandline too -
check they're man pages.

HTH
Brian

PS cron would work too of course - it's just not as handy




More information about the ubuntu-users mailing list