summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-11-05 08:57:00 +0200
committerPaul Buetow <paul@buetow.org>2021-11-05 08:57:00 +0200
commit9665d29ed40d406012f17052ecebc211852f1880 (patch)
tree1bdc2564c3ab67110043e6b98cbd6adb1943dbc9 /README.txt
parent1e63ab84c5d81e30f93e764b1266599c03f1220e (diff)
use txt not pod
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt48
1 files changed, 48 insertions, 0 deletions
diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..d8c4a9e
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,48 @@
+NAME
+ muttdelay - A bash script to delay mails written via mutt
+
+WTF?
+ This is for scheduling the sending of mails for a specific future time.
+ Unlinke postponing a mail which does not involve the scheduling.
+
+ How it works
+ Configuring Vim
+ Do the following:
+
+ cp /usr/share/muttdelay/muttdelay.vim ~/.vim/plugin/
+ echo 'map ,L :call MuttDelay()<CR>' >> ~/.vimrc
+
+ Configuring Cron
+ And create an hourly cronjob such as:
+
+ 0 * * * * /usr/bin/muttdelay cron
+
+ Configuring Mutt
+ Configure mutt your way and ensure that you can send mails like this:
+
+ mutt -s subject example@example.com < mail.txt
+
+ If it works, you can go on.
+
+ Use it
+ Open mutt, compose an email. Use Vim as your editor. After finishing
+ writing your mail don't close Vim, but run
+
+ ,L
+
+ and the mail gets scheduled for sending for a later time. You can now
+ leave vim without sending the mail via mutt directly.
+
+ The mail itself is saved to
+
+ ~/.muttdelay/SENDTIMESTAMP.COMPOSETIMESTAMP
+
+ The cron job checks if there is any SENDTIMESTAMP lower than the current
+ unix time stamp. And if so, all matching mails are sent.
+
+LICENSE
+ See package description or project website.
+
+AUTHOR
+ Paul C. Buetow - <http://paul.buetow.org>
+