Function __global->send_ticket_email

Definitions

sources/tickets2.php

  • Send an e-mail notification for a new post in a support ticket, either to the staff or to the ticket's owner.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$ticket_id string required parameter N/A N/A The ticket ID
$title LONG_TEXT required parameter N/A N/A The ticket title
$post LONG_TEXT required parameter N/A N/A The ticket post's content
$ticket_url mixed required parameter N/A N/A The home URL (to view the ticket) (URLPATH or Tempcode URL)
$uid_email EMAIL Blank (empty string) N/A N/A Ticket owner's e-mail address, in the case of a new ticket
$ticket_type_id_if_new ?AUTO_LINK Null N/A N/A The new ticket type (null: it is a reply to an existing ticket)
$new_poster ?MEMBER Null N/A N/A Posting member (null: current member)
$auto_created boolean False N/A N/A Whether the ticket was auto-created