You need to sign in to do that
Don't have an account?
jf317820
emails via scontrols
I'm having trouble sending emails to multiple recipients via an scontrol
my code is as follows:
Code:
the error I get is "The content of elements must consist of well-formed character data or markup." When I change the var addresses line to:
Code:
Any ideas?
Thanks in advance.
my code is as follows:
Code:
var addresses = ["test@xyz.com", "test2@xyz.com"]; singleRequest.subject = "test"; singleRequest.plainTextBody = "test"; singleRequest.htmlBody = "test"; singleRequest.toAddresses = addresses; singleRequest.useSignature = false; var sendMailRes = sforce.connection.sendEmail([singleRequest]);
the error I get is "The content of elements must consist of well-formed character data or markup." When I change the var addresses line to:
Code:
var addresses = "test@xyz.com";it works.
Any ideas?
Thanks in advance.
can you pull the soap request ( using firebug ) that is generated from the failing example, the clue may be in there.
Code:
Message Edited by jf317820 on 08-29-2007 07:47 AM