Hi,

In my current setup;OTRS recieves emails in below format and ticket is to be created.Though ticket creation is working;i need to capture values between tags to corresponding OTRS fields.
like "Nancy" to first name field in OTRS;

Need guidance in How to extract this values and put this in database fields


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<BusinessName>
<Header_Section>
<FirstName>Nancy</FirstName>
<LastName>B</LastName>
<Phone>9885098850</Phone>
<Email>nancy.b@test.com</Email>
<CaseTitle>email submission</CaseTitle>
<Priority>Normal</Priority>
<Severity>Medium</Severity>
<CaseType>Webform</CaseType>
<PCC1>INVOICE STATUS</PCC1>
<PCC2>NON-PO INVOICE</PCC2>
<PCC3>please specify</PCC3>
<PCC4>please specify</PCC4>
<AttachmentLink/>
<QueueName>Pharma</QueueName>
<Description>please transfer to me</Description>
</Header_Section>
</BusinessName>
 
Ravi Shankar