You need to sign in to do that
Don't have an account?
bwinklesky
email api
Does anybody know the exact syntax (VB or C#) to send an email using the email api? so far i have something like this, but I can't get the "result" part to work correctly. Any help is appreciated!!
Dim messages As SingleEmailMessage = New SingleEmailMessage()
messages.bccAddresses("test@test.com").ToString()
messages.toAddresses("test@test.com").ToString()
messages.plainTextBody = "test"
Dim result As sforce.SendEmailResult()
result = sfWebHost.sendEmail(messages)
werewolf
In what way does it not work correctly? Is it failing to compile, or does it give a runtime error?