$body =
sprintf("%s%s/Ticket.php/%s\n\n", $this->HTTP_HOST, $this->baseURL, $ticket->id) .
sprintf("#%s: %s (%s %s)\n", $ticket->id, $ticket->summary, $ticket->status_name, $ticket->classification_id_name) .
- sprintf("Responsible: %s (%s / %s)\n", $owner, $ticket->priority, $ticket->severity) .
+ sprintf("Responsible: %s (%s / %s)\n", $owner, $ticket->priority_id_name, $ticket->severity_id_name) .
//sprintf("Milestone: %s\n", join(', ', $T->getMilestones()));
//sprintf("Component: %s\n", join(', ', $T->getComponents()));