I hope, I searched both documentation and this forum thoroughly enough, but I didn't find a working solution for my problem.
I create tickets in OTRS6 via a webservice with the following postdata (variable names simplified for readability):
Code: Select all
'Ticket' => [
'Type' => $type,
'CustomerUser' => $user,
'Priority' => $priority,
'Queue' => $queue,
'Title' => $subject,
'State' => 'new',
],
'Article' => [
'Subject' => $subject,
'Body' => $body,
'From' => $email,
'To' => $queue,
'ReplyTo' => $email,
'ContentType' => 'text/plain; charset=utf8',
'CommunicationChannel' => 'Email'
],
'CustomRequest' => 'POST'
See here: What address SHOULD appear in the to field? And above that more importantly: Is it possible to tell the template to get the recipient adress (TO field) from my postdata?
I also know about dynamic fields, but I could only find out about writing the submitted dynamic data into the template body.
Help would be very greatly appreciated!