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

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;

}

Hi Corey,

Thanks so much for the helpful info.

We're wholly unconcerned with email format. The issue reared its head when I was setting things up. The initial setup screen asks for email addresses for admin, no-reply, etc...

That's where I found that there was a regex in the mix looking for valid email format (for internet).

Setting it to 'true' worked a treat.

Again, my sincere thanks!

-Ray

12 years later

Good Afternoon, I am having a similar problem. we are using an internal network that can be access only within our local network. our email system can't send or receive email from out our network. This has be a challenge of configurating oSticket. the system can't accept any email format as "username@domainname.com.ng" please I need help or advice of how to move forward.

Write a Reply...