You need to sign in to do that
Don't have an account?
EchoEcho
Visualforce email template secondary contact info
Is it possible to use a Visualforce Email Template to send an email to one person, while including some information from the Contact record of a secon person? For instance, I use setTargetObjectId() to pull in the email recipient's name, and I wanted to use setWhatId() to pass in an ID for a second contact, but setWhatId won't accept an ID of type Contact.
Thanks,
Tom