processMail()
processMail(string $text, array $info, string $auth_user = null) : \Whups_Ticket
Parse a MIME message and create a new ticket.
Parameters
string | $text | This is the full text of the MIME message. |
array | $info | An array of information for the new ticket. This should include:
|
string | $auth_user | This will be the Horde user that creates the ticket. If null, we will try to deduce from the message's From: header. We do NOT default to $GLOBALS['registry']->getAuth(). |
Returns
\Whups_Ticket —Ticket.