I'm experiencing difficulties when sending a response including an attachment back to the user.
The file attaches correctly to the ticket and can be viewed in the staff control panel, but the email that the user receives doesn't include the attachment.
I'm using SMTP (authenticated) to send responses. Attachment settings set to "Allow attachments" and "Email attachments to the user"
I'm using IIS6 under Windows 2003 Server.
It seems to be returning false on is_file($attachment) in the postResponse function of class.ticket.php
I think it's removing the \ from the file path... for example, $attachment == C.tmp
Any ideas?
--
As a footnote: I've tried modifying the code to addslashes($attachment) which would give me C:\WINDOWS\Temp\php3A.tmp
However, is_file(addslashes($attachment)) still returns false around line 776 in class.ticket.php