PDA

View Full Version : Ticket::create function, saveAttachment first - send Alerts second


Zoidberg
02-10-2008, 05:27 AM
I suggest that processing data will be improved in the future.

Personally, I would like to be able to "New Ticket Alert" (email) staff about attachments in a New Ticket or New Message.

As it is now a pop3 retrieved Ticket::create calls Alerts first and saves Attachments second. This way it is impossible to include links to attachments in alert emails.

Please change the pop3 process to first saveAttachment then send out the Alerts.

Zoidberg
02-26-2008, 10:26 AM
I understand the way to go here is to turn New Message Alerts and New Ticket Alerts into individual functions (thanks Peter!). Could anybody give me a hand here?

4ice
02-29-2008, 11:07 AM
Hi Sebastian,

So you would like to send an alert to the staff with the attachment (if provided) after an user opens a new ticket?

Perhaps we can works this out together as you suggested. Did you do anything already? Any info you can share is welcome.

Currently I am looking at the function create (in class.ticket.php) and the function postMessage (also in class.ticket.php)