Sets the Cash-On-Delivery cost of the outgoing message. Called in the default UI when clicking its Send button, immediately before sending the mail.


See also Mail functions.

Signature:

SetSendMailCOD(amount)

Arguments:

  • amount - COD cost for the items attached to the mail (in copper) (number)