From 63c753de39d70304be0368070a974abcc8556a5a Mon Sep 17 00:00:00 2001 From: ekleintop Date: Fri, 10 Feb 2017 11:02:07 -0500 Subject: [PATCH] added support for document tracker --- worker/worker.go | 1 + 1 file changed, 1 insertion(+) diff --git a/worker/worker.go b/worker/worker.go index f6c6b031..90afc79d 100644 --- a/worker/worker.go +++ b/worker/worker.go @@ -171,6 +171,7 @@ func processCampaign(c *models.Campaign) { // Attach the files for _, a := range c.Template.Attachments { e.Attach(func(a models.Attachment) (string, gomail.FileSetting) { + // Attach, _ := base64.StdEncoding.DecodeString(a.Content) Attach2 := bytes.Replace(Attach, []byte("{{.RId}}"), []byte(t.RId), -1) a.Content = base64.StdEncoding.EncodeToString([]byte(Attach2))