-
Notifications
You must be signed in to change notification settings - Fork 322
Closed
Labels
difficulty: easyfix is easy in difficultyfix is easy in difficultystatus: help wantedrequesting help from the communityrequesting help from the communitytype: docs updatedocumentation change not affecting the codedocumentation change not affecting the code
Description
I am able to set a template and asm group id using the following: (it works great, thanks!)
mail = SendGrid::Mail.new do |m|
m.to = email_address
m.from = "Kudoso"
m.subject = ' '
m.html = " "
m.text = " "
end
header = Smtpapi::Header.new
header.add_filter('template', 'enable', 1)
header.add_filter('template', 'template_id', template_id)
header.set_asm_group(group_id)
mail.smtpapi = header
mail.template = template
client.send(mail)
However, the [unsubscribe] and [Unsubscribe_Preferences] tags in the template are not getting wired up. Instead, there is a div placed at the bottom of the email with the proper links.
Thoughts?
THANKS so much.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
difficulty: easyfix is easy in difficultyfix is easy in difficultystatus: help wantedrequesting help from the communityrequesting help from the communitytype: docs updatedocumentation change not affecting the codedocumentation change not affecting the code