There are different ways of sending newsletters using the Microsoft Dynamics CRM 2016:
This rule will show you how to send a newsletter using the last method, the mail merge.
By default, Microsoft Dynamics CRM 2016 does not come with good functionality on inserting custom unsubscribe links to your newsletters - that's why we are going to look at how to add a custom unsubscribe link in each email.
Prerequisites:
Basic coding knowledge (VBA) required - you will have to configure the macro that generates and inserts your custom unsubscribe link. If you don't feel comfortable doing this, have a look at Option 2 below.
Depending on how many contacts you are going to send the newsletter to, you should think about setting up a VM or using an external provider for sending the emails.
Figure: This is where you can find your Marketing Lists in Microsoft Dynamics CRM 2016
Figure: Click the ellipsis button to reveal the Mail Merge option
Figure: This is an example of a configuration to start with
Figure: Follow these steps to start working on the mail merge
Figure: Choose the recipients for your mail merge and proceed
Figure: Convert the mail merge document to the newest version
Sub InsertNewsletterLink()'' InsertNewsletterLink Macro'''Finds and adds a hyperlink where the UNSUBSCRIBE tag is placedWith Selection.Find.Forward = False.Wrap = wdFindAsk.Text = "UNSUBSCRIBE".MatchWholeWord = True.ExecuteEnd WithActiveDocument.Fields.Add Range:=Selection.Range, Type:=wdFieldHyperlink'Switch to alternative view so we can modify the content of the hyperlink "manually"ActiveDocument.ActiveWindow.View.ShowFieldCodes = _Not ActiveDocument.ActiveWindow.View.ShowFieldCodesWith Selection.Find.Forward = True.Wrap = wdFindStop.Text = "HYPERLINK".MatchWholeWord = True.ExecuteEnd WithSelection.InsertAfter " ""https://www.ssw.com.au/ssw/NETUG/Unsubscribe.aspx?email=<<email>>"'Insert word mail merge fields on <<email>> and <<contact>>With Selection.Find.Forward = False.Wrap = wdFindStop.Text = "<<email>>".MatchWholeWord = True.ExecuteEnd WithActiveDocument.Fields.Add Range:=Selection.Range, Type:=wdFieldMergeField, Text:="EMAIL"Selection.InsertAfter "&id=<<contact>>"With Selection.Find.Forward = False.Wrap = wdFindStop.Text = "<<contact>>".MatchWholeWord = True.ExecuteEnd WithActiveDocument.Fields.Add Range:=Selection.Range, Type:=wdFieldMergeField, Text:="CONTACT"Selection.InsertAfter """"Selection.MoveRight Unit:=wdCharacter, Count:=1'Remove the additional MERGEFORMATsFor counter = 0 To 1With Selection.Find.Forward = False.Wrap = wdFindStop.Text = "\* MERGEFORMAT ".MatchWholeWord = True.ExecuteEnd WithSelection.DeleteNext counter'Switch back to normal view so we can change what the hyperlink looks like to the userActiveDocument.ActiveWindow.View.ShowFieldCodes = _Not ActiveDocument.ActiveWindow.View.ShowFieldCodesWith Selection.Find.Forward = True.Wrap = wdFindStop.Text = "Error! Hyperlink reference not valid.".MatchWholeWord = True.ExecuteEnd WithSelection.Text = "UNSUBSCRIBE"Selection.Font.Bold = FalseSelection.Font.Underline = wdUnderlineSingleSelection.HomeKey Unit:=wdStoryEnd Sub
Figure: The highlighted part will change for every recipient
Figure: Example configuration for the email that is about to be sent
You don't need any coding knowledge here - but this means you will have to generate your custom unsubscribe link manually and copy and paste it into the mail merge document. Make sure to set it up it correctly before copying.