Hi all,
I've searched the forums and used google to no avail, so here goes...my advance apologies if this has been asked and answered.
I'm a happy user of osTicket and am looking to deploy it on an offline network for in-house ticket tracking. The issue is, of course, that our internal emails aren't in the format osTicket is expecting.
Example: we use something along the lines of 'username@servername.company' which osTicket rightly tags as an invalid email address.
Is there a mod or workaround for this? I have manually edited the data in the database, but upon entering the scp, I fear this will be overwritten when and if some files are accessed.
Thanks in advance for any advice or pointers.
Regards,
-Ray
Are you worried about what format the emails are at all?
This will make it so you have to have 'username@servername.company'.
File: /include/class.validator.php
Line: 128
Find:
function is_email($email) {
return eregi("^+(\.+)*@+(\.+)*(\.{2,4})$",trim($email));
}
Replace with:
function is_email($email) {
return eregi("^+(\.+)*@+(\.+)*(\.+)$",trim($email));
}
If the format doesn't matter you can use:
Replace with:
function is_email($email) {
return true;
}