You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Reporting on what email address an incoming query was sent to

edited Oct 10, 2016 3:15PM in Reporting & Analytics for B2C Service 3 comments

Content

Hello all,

 

I have a report to show me what email address and incoming query was sent to. 

I am using the following:

substr(to_char(threads.mail_hdr),0+ instr(to_char(threads.mail_hdr),'To:'),-1+instr(to_char(threads.mail_hdr),'MIME')-instr(to_char(threads.mail_hdr),'To:'))

The issue with this is that it is picking up the 'Delivered-To:' entry which is not what I want, I only want to see the 'To:' entry which is further down in the email header.

Is anyone able to help with this?

Thanks

Toby

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!