Stop myself from sending an email with a particular string

Stefan Brandl stefan at
Sat Sep 15 15:33:32 UTC 2018

On Fri, Sep 14, 2018 at 11:18:09PM -0400, Xu Wang wrote:
> Long story short:
> How can I have mutt refuse to send an email if the contents contain a
> certain string, such as the example "Erica"?

The easiest way is to use vim as editor
and set

  iab Erica John

in your .vimrc.
So everytime you type "Erica" in the editor
it will automagically replaced by "John".


More information about the Mutt-users mailing list