mstrio > distribution_services > email

mstrio.distribution_services.email.send_email(connection, users, subject, content, is_html=None)

Send an email to specified recipients.

Parameters:
  • connection (Connection) – Strategy One connection object returned by connection.Connection()

  • users (list[str | User]) – List of user IDs or User objects to send the email to

  • subject (str) – Subject of the email

  • content (str) – Content of the email

  • is_html (bool, optional) – Whether the email content is HTML-formatted

Return type:

None