ty0716 Posted August 11, 2015 Report Posted August 11, 2015 In "plugins/support_managerpro/controllers/client_tickets.php" Line:181 and 334 $this->SupportManagerproTickets->sendEmail($reply_id); to //$this->SupportManagerproTickets->sendEmail($reply_id); In "plugins/support_managerpro/models/support_managerpro_tickets.php" On line 468 change: // Return the ID of the reply to $this->sendEmail($reply_id); // Return the ID of the reply ================================================================================= I find use api create ticket or reply ticket seems to no email send. because sendEmail() in controller and some is private method,but api call the model.How to solve this problem? If there is not,whether through the API to send mail and choose a template? RichardKit 1 Quote
0 activa Posted August 11, 2015 Report Posted August 11, 2015 i think you need to do 2 call from api 1 - for create/reply ticket 2 - fpor sending email the call for creating/replty ticket , well return and id , use that ID to call the send email from API . not need to edit the core files . Quote
0 ty0716 Posted August 13, 2015 Author Report Posted August 13, 2015 i think you need to do 2 call from api 1 - for create/reply ticket 2 - fpor sending email the call for creating/replty ticket , well return and id , use that ID to call the send email from API . not need to edit the core files . thx,i also think so. Quote
Question
ty0716
In "plugins/support_managerpro/controllers/client_tickets.php"
Line:181 and 334
to
In "plugins/support_managerpro/models/support_managerpro_tickets.php"
On line 468
change:
to
=================================================================================
I find use api create ticket or reply ticket seems to no email send.
because sendEmail() in controller and some is private method,but api call the model.How to solve this problem?
If there is not,whether through the API to send mail and choose a template?
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.