Using Mass Email Contacts with Campaign Merge Fields
Not possible you say? Well, yes, technically you are correct. However, I needed to use the standard mass email functionality in Salesforce, and to include both contact merge fields (First Name, Email) and campaign merge fields (Campaign name, Start date) in a URL in an email that would be sent every month from a new campaign.
The best solution I could come up with requires a bit of cut and paste, and a clever hack, but should be foolproof in that it doesnt require manually reassembling the URL in the email - just pasting a new link for each send.
My approach was as follows:
- create a formula field on the campaign object to pull the campaign merge fields into the URL
- On said formula field, after the campaign merge fields, include the contact merge fields that would get populated when the email was sent.
So the formula field, simplified to only include one Campaign field and one...



