Jump to content
  • 0

[Sloved]Api Does Not Seem To Trigger Controller Send Mail?


ty0716

Question

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?

Link to comment
Share on other sites

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...