
What I am trying to figure out how to do is set the To: field on the E-mail Outbound page for a ticket. The idea is when the agent is responding to the customer, it should auto-set the To field with the customer e-mail address for the ticket - one less thing for the agent to do, and 99%of the time, that is the person they will be e-mailing to, following up on the ticket.
In AgentTicketEmailOutbound.pm, I have found out how to get at that data, how to modify the subject and body, but I can not find any way to set the To: field from within the code. It really wants to use the javascript on that page to do so, and if I try to set obvious fields like ToRealname, Cc or others, it is ignored.
Any ideas from those not exhausted?

I am on version 5.