邮件模板中如何添加分享按钮
U-Mail邮件营销平台
发表时间 2021-09-16
人气 218次
邮件模板中添加分享按钮有多种方式,现在分享一下使用U-Mail邮件营销平台分享控件和bShare代码的安装:
一、使用U-Mail邮件营销平台分享控件
使用U-Mail邮件营销平台编辑邮件模板的时候,可以选择分享控件,点击一下就会出现在对应位置,如下图,操作非常方便
二、安装bShare
打开网址http://www.bshare.cn/help/installEmail,可以看到相关的代码
打开邮件模板文件,选择html代码模式,将以下分享按钮代码复制到模板的相应位置。
<a title="分享到人人网" href="http://api.bshare.cn/share/renren?url=[URL]&title=[title]&content=[content]&pic=[picURL]&publisherUuid=[UUID]" target="_blank" style="text-decoration:none;"><img src="http://static.bshare.cn/frame/images/logos/mp/renren.gif"/></a>
<a title="分享到QQ空间" href="http://api.bshare.cn/share/qzone?url=[URL]&title=[title]&content=[content]&pic=[picURL]&publisherUuid=[UUID]" target="_blank" style="text-decoration:none;"><img src="http://static.bshare.cn/frame/images/logos/mp/qzone.gif"/></a>
<a title="分享到新浪微博" href="http://api.bshare.cn/share/sinaminiblog?url=[URL]&title=[title]&content=[content]&pic=[picURL]&publisherUuid=[UUID]" target="_blank" style="text-decoration:none;"><img src="http://static.bshare.cn/frame/images/logos/mp/sinaminiblog.gif"/></a>
<a title="更多平台..." href="http://www.bshare.cn/share?url=[URL]&title=[title]&content=[content]" target="_blank" style="text-decoration:none;"><img src="http://static.bshare.cn/frame/images/logos/mp/more.gif"/></a>
<a title="分享到QQ空间" href="http://api.bshare.cn/share/qzone?url=[URL]&title=[title]&content=[content]&pic=[picURL]&publisherUuid=[UUID]" target="_blank" style="text-decoration:none;"><img src="http://static.bshare.cn/frame/images/logos/mp/qzone.gif"/></a>
<a title="分享到新浪微博" href="http://api.bshare.cn/share/sinaminiblog?url=[URL]&title=[title]&content=[content]&pic=[picURL]&publisherUuid=[UUID]" target="_blank" style="text-decoration:none;"><img src="http://static.bshare.cn/frame/images/logos/mp/sinaminiblog.gif"/></a>
<a title="更多平台..." href="http://www.bshare.cn/share?url=[URL]&title=[title]&content=[content]" target="_blank" style="text-decoration:none;"><img src="http://static.bshare.cn/frame/images/logos/mp/more.gif"/></a>
说明:
1. 代码中标绿的部分,[URL](分享网址)是必填项,其余参数如[title](分析标题)、[content](分享内容)、[picURL](分享图片)、[UUID]都是可选项。且以上参数必须是 encode形式(在线Encode转换工具供参考:http://meyerweb.com/eric/tools/dencoder/)。
2. 对于其它的分享平台,您只需将代码中标红的部分替换成你所需要的平台代码即可。
3. 您也可以根据自己的实际需求,将代码中标蓝的部分替换成你所需要的bShare分享按钮的尺寸大小。例如:s4 (16x16), m2 (24x24), mp2 (32x32), l3 (50x50)。
将此模板保存到邮件模板中,以后发送邮件时即可出现bShare分享按纽。快试试看吧!

- 上一篇:邮件模板规范大全
- 下一篇:如何自己搭建邮件群发平台?