mail-send-hook

mail-send-hook is a variable defined in `sendmail.el'.
Its value is
nil

  • This variable may be risky if used as a file-local variable.

Documentation:
Hook run just before sending a message.

You can customize this variable.