|
#1
|
|||
|
|||
|
but after i customize this,i find my fetch email using pop3 doesnt work anymore.. it works fine when i havent customize it.. does anyone know why this happen? do i still need to customize something to make this email fetch work? please help me..
|
|
#2
|
||||
|
||||
|
When a ticket is opened via email it doesn't have a value for the fields that you added. You have to tell OSTicket what the default values for those fields are, or set them as not required. If you open include/class.mailfetch.php circa line 239 you can add defaults there.
I added fields called Agency and Program and have the following there: Code:
$var['agency']="45"; $var['program']="10"; |
|
#3
|
|||
|
|||
|
Quote:
but actually i want this 3 fields to set as required,so user must input these 3 fields when using the web form.. and i dont need the value of these 3 addtional field when ticket is opened via email. so how can i set these 3 addtional fields to required and the mail fetch still work? |
|
#4
|
||||
|
||||
|
Set them back to being required, and setup the defaults like I posted.
|
|
#5
|
|||
|
|||
|
Quote:
ex:if i have 1 addtional field 'country' and i set it as required and set the default like ur said as 'us' and when user open ticket via email are the country field in viewticket will show 'us' ?? |
|
#6
|
||||
|
||||
|
No.
Setting the default like I described is only for EMAILED tickets. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|