Create Email-Ticket Invalid Syntax! error in To: Field

Moderator: crythias

Locked
ahkal
Znuny newbie
Posts: 23
Joined: 18 Oct 2010, 22:54
Znuny Version: 5.0.5

Create Email-Ticket Invalid Syntax! error in To: Field

Post by ahkal »

Hi All

I have an issue when I create a new ticket from OTRS.
Basically I search for a customer using the "Customer" link (Not the Address Book link), find the customer, then click on the username field of the customer.
The customer has a valid email address, so I would expect the email address to be displayed on the main form, but what actually happens is that the form pulls though the firstname and lastname into the To: field, which results in the error:

example

* invalid test01 (Invalid syntax)! invalid test01 (Invalid syntax)!

But I would expect the email address of the customer to be autofilled into the To: field.

This doesn't happen when you click on the AddressBook link to find a customer, the email address is auto filled in this case.

Please see attached file, as I think it explains it more clearly.

Any help would be appreciated.
You do not have the required permissions to view the files attached to this post.
OTRS 5.0.5 on Ubuntu Server
ahkal
Znuny newbie
Posts: 23
Joined: 18 Oct 2010, 22:54
Znuny Version: 5.0.5

Re: Create Email-Ticket Invalid Syntax! error in To: Field -

Post by ahkal »

Hi All,

just found out how to fix this,

The CustomerUserListFields entry in config.pm, must have the 'mail' attribute.
So I changed my CustomerUserListFields in the config.pm to be like:

CustomerUserListFields => ['cn','mail'],

Now I when I pick a name from the Customers link the email address is also pulled through, also applies when you just type the name in the To: field.
The only related issue I have now is that the auto-fill/lookup feature only works for the first entry in the To: field, and also that auto-fill doesn't seem to apply to the cc and bcc fields.

But still at least I don't get the (invalid syntax)! error.
if anybody knows where the cc, bcc settings can be changed, please let me know.
OTRS 5.0.5 on Ubuntu Server
Locked