山魈 API 日志 --"主题":"情人节特别优惠。精选类别额外10%折扣*!查看独家在线优惠", "from_email": "habits@zip.in", "from_name": "zipp", "到":[ { "电子邮件": "xyza_123@gmail.com", "名称": "文克", "类型": "到" } ], "合并":真, "merge_vars":[ { "RCPT": "xyza_123@gmail.com", "变量":[ { "名称": "联合国潜艇", "内容": "http://zyr.com/unsubscribe/GYT786HHG" }, { "名字": "名字", "内容":"文克" } ] } ], "异步":假, "ip_pool":空, "send_at":空,
当我单击模板中的退订者链接时,它会将我带到 url http://*|unsub|*
.山魈不会取代 |联合国潜艇|与http://zyr.com/unsubscribe/GYT&786HHG
.请帮助我.我花了很多时间在上面,但无法解决
<table align="left" border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width:100%;" class="mcnTextContentContainer">
<tbody><tr>
<td valign="top" class="mcnTextContent" style="padding-top:9px; padding-right: 18px; padding-bottom: 9px; padding-left: 18px;">
You can <a href="*|UNSUB|*" target="_blank">unsubscribe</a><br>
<br>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody>
</table>
无需将 UNSUB 作为合并变量传入。山魈会为您处理所有这些。UNSUB 也是一个保留的合并标记,这就是为什么它不会被替换为您在 API 调用中传递的值的原因。
因此,在您的 API 调用中,完全删除合并变量:
{
"name": "UNSUB",
"content": "http://zyr.com/unsubscribe/GYT786HHG"
},
在您的 HTML 模板中,请改用以下内容:
You can <a href="*|UNSUB:http://zyr.com/unsubscribe/GYT786HHG|*" target="_blank">unsubscribe</a><br>