Dear Ravi, this is an interesting one :-) I’ve never been with a customer yet who received XML within the email body in plain text, but I will properly add a blog post about this.
However, you should use postMaster filter for this with regular expressions. As this can become very complex I recommend to use the famous online reg ex editor on http://gskinner.com/RegExr/ If you find your way, please come back to the list so I may receive useful content for the blog :-) On 28.09.2011, at 05:24, ravi shanker wrote: > 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>[email protected]</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> -- Cheers, Nils http://webint.cryptonode.de / a Fractal project --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
