moo.sdk.mail.send_message

moo.sdk.mail.send_message(sender, recipients, subject, body)

Create a message and deliver it to all recipients.

Parameters:
  • sender – the sending Object (must be a player)

  • recipients (list) – list of recipient Objects (must be players)

  • subject (str) – message subject line

  • body (str) – message body text

Returns:

the created Message instance