Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Reporting on what email address an incoming query was sent to — Cloud Customer Connect
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

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


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?



Howdy, Stranger!

Log In

To view full details, sign in.


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