Can I change which support address sends an outgoing email reply using a trigger?
You cannot choose which support address is used for ticket replies with triggers.
Customers receive ticket replies from the support address they used to submit their query, or from the default support address.
It is possible to manually change the support address for ticket replies using the Select an Address app.
For more information, see the article: Which support address are email replies sent from?