You need to sign in to do that
Don't have an account?
Bill Fox
Invalid initial expression type for field, expecting: String
I am trying to read the "toAddresses" field in apex in global Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email, Messaging.InboundEnvelope env)
I getting an error: Invalid initial expression type for field Email_PO__c.email_toAddresses__c, expecting: String
I suspect I need some code to convert this field of data to a string separated by commas?
I getting an error: Invalid initial expression type for field Email_PO__c.email_toAddresses__c, expecting: String
I suspect I need some code to convert this field of data to a string separated by commas?
Inculde the belwo code and assign Email_PO__c.email_toAddresses__c = listToAddress