Homepage: https://www.gnu.org/software/emacs
Add hashcash payments to email
The hashcash binary is at http://www.hashcash.org/. Call `mail-add-payment' to add a hashcash payment to a mail message in the current buffer. Call `mail-add-payment-async' after writing the addresses but before writing the mail to start calculating the hashcash payment asynchronously. The easiest way to do this automatically for all outgoing mail is to set `message-generate-hashcash' to `opportunistic' or t. If you want more control, try the following hooks. To automatically add payments to all outgoing mail when sending: (add-hook 'message-send-hook 'mail-add-payment) To start calculations automatically when addresses are prefilled: (add-hook 'message-setup-hook 'mail-add-payment-async) To check whether calculations are done before sending: (add-hook 'message-send-hook 'hashcash-wait-or-cancel) For more information, see Info node `(gnus) Hashcash'.