Hello,
Is it possible to set a custom field when creating a new ticket from email?
Let me explain better, to each ticket we associate an order-id that I will take from the organization.

Thanks,
Donato

    pitanni Is it possible to set a custom field when creating a new ticket from email?

    Sorta Yes. But its not easy or trivial. You would need to use REGEX to match specific things and then put a value into the field. I don't know how you would pull something out of the email to populate a specific field however.

      ntozier thanks.
      Maybe I haven't made it clear, sorry.
      I just wanted to understand what is the class that creates the ticket from the email, the order-id is get by another class from database.

        I would think /include/class.mailfetch.php and class.mailparse.php

          cartmega Thanks, very interesting.
          For my case I solved it by changing the ticket class.
          Thanks a lot anyway

            Hi pitanni ,
            You modified the /include/class.ticket.php file right?
            Well, for anyone reading this, you do not have to do that anymore.
            With a small PHP script you can avoid hard coded modifications and next time you upgrade your osTicket you won't break all your mods.
            Hope this helps someone.

            ntozier Hello, I have installed your ticket portal in my system and added the mail id, need your help to setup the auto ticket will generate while the user will send the mail to the mentioned mail id. I have enabled to auto corn but I am not understand which IP address i have to add

            thank you,

            Write a Reply...