How to refer BCC from inbound email?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2017 11:50 PM
Hi,
I want to retrieve BCC address from inbound email. Currently i can refer to, from, cc but not BCC.
could you please help me in this?
Appreciate your quick reply.
Thank You.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2017 12:37 AM
yes,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2017 12:15 AM
Hello Priyanka,
This is an interesting question but not an easy going 🙂 The field Blind copied on sys_email table is to outbound emails and not for inbound therefore, that will not help. Whenever you receive an inbound email, you don't see the bcc email address in the respective sys_email record which is why you don't see this or let's say you cannot retrieve it. I would say this is not an issue with ServiceNow platform as the actual bcc email address processing happens at the mail server level.
Therefore, when you really want to see/retrieve the bcc email address on inbound emails, it requires doing some work at the mail server level.
Please check this link How we handled BCC for further guidelines.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2017 12:36 AM
Hi Priyanka,
You can refer bcc address in inbound script. If you want to check email address in bcc , please use below
email.headers.indexOf('@abc.com')>-1;
Please let me know if you need more details.
PS: Please hit like, mark helpful/ correct depending on impact of the response.
Regards,
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2017 12:44 AM
even headers does not contain bcc address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2017 12:55 AM
Yes Priyanka, you're right! You don't see the bcc email address in your sys_email record not even in headers. This remains or let's say dealt with at the mail server level only and required talking to your mail server admin for further suggestion and changes.