mailSetStatus()

The function mailSetStatus() updates the participation status of a mailing. The status is particularly relevant for sending reminders and follow-up mailings.

void mailSetStatus(string|null personID, int|null mailing, string status)

Example

The following PHP code sets the status “questionnaire completed” for the mailing that led the current respondent to the questionnaire.

mailSetStatus(null, null, 'complete');