Email ‘Additional Interested Parties’
-
I’m creating an extension which would allow me to assign an agent and a supervisor (as an “Additional Interested Party”) at the user level. I’m using usermeta to store which agent and supervisor is assigned to each user, and then using that I am assigning those values to the ticket. It works, mostly, in that the names of the supervisor and agent appear in the correct spots, but they are neither logged in the ticket history or emailed about the change.
I’ve spent some time digging through the Awesome Support plugin code and I haven’t been able to find the right hook to email both the agent and the supervisor when the ticket is created. Right now the email is sent to the user and whichever agent wpas assigned first. I see the function wpas_assign_ticket and tried passing the ticket id and agent id to it, but the agent does not receive an email about the ticket.
I would also like to make sure that the “Additional Interested Parties” get notified when the ticket is created as well so if you could point me in the right direction there it would be greatly appreciated.
The topic ‘Email ‘Additional Interested Parties’’ is closed to new replies.