POST /mailer/send

Post a message

Request

Request body */*

subjectstring required

Message subject

bodystring required

Message body

userstring required

A comma-separated list of user IDs, usernames, or email addresses

groupstring

A comma-separated list of group IDs to email all users in those groups

rolestring

A comma-separated list of role IDs to email all users in those roles

fromemailstring

An email address the message is from. Defaults to global site setting.

fromnamestring

A name the message is from. Defaults to global site setting.

ccstring

A comma-separated list of user IDs or email addresses

bccstring

A comma-separated list of user IDs or email addresses

alertstring

An alert level to use for styling HTML portions of emails

Response

Successful entry read

Changes

No recorded changes to this operation across all 1 revision of this API.