Returns the amount of money to be sent with the outgoing message. Returns the amount set via SetSendMailMoney(), which in the default UI is only called once its Send button has been clicked (immediately before sending the message). Thus, does not return the Send Money amount set in the default UI's Send Mail window.


See also Mail functions, Money functions.

Signature:

amount = GetSendMailMoney()

Returns:

  • amount - Amount of money to be sent (in copper) (number)