Discussions
How to get the value from BCC in email using SuiteScript?
Hi,
I have a requirement to add an email ID in BCC instead of CC. But when trying to do that, getting an error like "TypeError: Cannot find function getBcc in object com.netledger.app.email.handler.plugin.EmailMessageDto@38777086." The syntax used to get the BCC email is as below.
email.getBcc().
But at the same time we are getting the email ID given as CC with the code "email.getCc()".
It is very important to give BCC instead of the email given as CC.
Does anyone have any idea about this? Any help would be greatly appreciated.