Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Jordan Miller Posted May 23, 2020 Posted May 23, 2020 Hey there. I am trying to manually include the {$unsubscribe} tag in my email wrapper. However, it produces the following HTML that literally gets included in the email sent: <tr> <td dir='{dir}' valign="top"><img src='https://www.breatheheavy.com/exhale/applications/core/interface/email/spacer.png' width='1' height='1' alt=''></td> <td dir='{dir}' valign='middle' align='center' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 12px; line-height: 18px; padding-left: 10px;"> <a href="https://www.breatheheavy.com/exhale/index.php?/unsubscribe/&email=breatheheavydotcom@gmail.com&key=534b1f0f184a76b0a9edd0773a531d14" style='color: #4a8aca; text-decoration: none; display: inline-block'> </a>. <br /> </td> </tr> Ideally, I want it to create a link with the word 'Unsubscribe' and unsubscribes the user if they click it. I am sending my emails through SendGrid. They aren't sure what to do either or how to help. Any ideas? 🙏
Morrigan Posted May 24, 2020 Posted May 24, 2020 Which template are you editing? Because the unsubscribe button should be included by default with this code: {{if $unsubscribe}} {$unsubscribe|raw} {{endif}}
Jordan Miller Posted June 19, 2020 Author Posted June 19, 2020 (edited) On 5/24/2020 at 1:19 PM, Morrigan said: Which template are you editing? Because the unsubscribe button should be included by default with this code: {{if $unsubscribe}} {$unsubscribe|raw} {{endif}} Hi there, super sorry for the late reply. @Morrigan I was editing the email wrapper template. I just don't understand how to get it so it uses the SendGrid unsubscribe. Currently, the code above that you showed isn't displaying anything. In the attached screen shot, the unsubscribe you link you see is the default one provided by Sendgrid. I want to disable that and manually insert it into my email template so I can center it and include it below the social media icons. Any idea how I can do that? Edited June 19, 2020 by breatheheavy
Jordan Miller Posted July 1, 2020 Author Posted July 1, 2020 Still going in circles trying to figure this out. Does anyone use SendGrid to send e-blasts? How does one use the unsubscribe tag (that's not SendGrid's default setting)? 🙏
Recommended Posts