message-send-hook

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

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

Documentation:
Hook run before sending messages.
This hook is run quite early when sending.

You can customize this variable.