@mambasms/mcp-server 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +215 -2
- package/package.json +3 -2
- package/snippets/footer-basic.html +34 -0
- package/snippets/footer-social.html +29 -0
- package/snippets/header-basic.html +22 -0
package/index.js
CHANGED
|
@@ -56,10 +56,17 @@ async function callApi(path, body) {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
const server = new McpServer(
|
|
59
|
-
{ name: "mambasms-mcp-server", version: "0.
|
|
59
|
+
{ name: "mambasms-mcp-server", version: "0.3.0" },
|
|
60
60
|
{
|
|
61
61
|
instructions: `MambaSMS 邮件模板管理(店铺级,鉴权用 MAMBA_ACCESS_TOKEN)。
|
|
62
|
-
|
|
62
|
+
四条创建路径,按场景选:
|
|
63
|
+
A) template_create_from_design —— 首选。传结构化 emailDesign(JSON:style/theme/hero/intro/products/offer/cta/social),系统渲染引擎生成合规可编辑组件树。写之前先用 catalog_query(topic=emailDesign) 查规范;要版式骨架用 catalog_query(topic=layouts) 后传 layoutSkeleton;想套用已有模板传 templateId(template_list_system 的 id)。
|
|
64
|
+
B) template_create(html) —— 迁移现成 HTML / 精细控制时用。
|
|
65
|
+
C) template_create(sections) —— 动态区块(购物车/浏览商品列表),发送时自动填充该联系人的数据。
|
|
66
|
+
D) template_import —— 从外部迁移:mambatpl 平台模板文件,或 zipHtml(设计工具导出的 zip,含图片转存 CDN)。
|
|
67
|
+
参考面:template_list_system / template_get_system(系统模板库结构与文案)、block_library_query(预置区块)、catalog_query(规范目录)、template_snippets(页头/页脚 HTML 片段,含社交图标)。
|
|
68
|
+
效果确认:template_preview(返回 HTML + 免登永久预览链接)、template_send_test(发测试邮件,≤10 个收件人,店铺级 2 分钟限频)。
|
|
69
|
+
页脚与社交链接:不要自己发明图标地址,用 template_snippets(type=footer-social) 的片段,图标走 https://link.mambasms.com/dynamicImage/{platform}/{size}/{shape}/{color};平台 key 大小写敏感(youTube/linkedIn/soundCloud)。退订必须 {Unsubscribe}。
|
|
63
70
|
${PLACEHOLDER_GUIDE}`,
|
|
64
71
|
}
|
|
65
72
|
);
|
|
@@ -192,6 +199,212 @@ server.tool(
|
|
|
192
199
|
}
|
|
193
200
|
);
|
|
194
201
|
|
|
202
|
+
server.tool(
|
|
203
|
+
"template_list_system",
|
|
204
|
+
"列出系统模板库(平台公共模板,campaigns/automation)。返回标题、摘要、分类、contentSummary(板块+核心文案)。用于让 AI 参考结构与风格,或在 template_create_from_design 里以 templateId 直接套用。",
|
|
205
|
+
{
|
|
206
|
+
template_type: z.enum(["campaigns", "automation"]).optional().describe("campaigns=营销活动模板,automation=自动化流程模板"),
|
|
207
|
+
category_id: z.string().optional().describe("分类id(先调 template_system_categories 获取)"),
|
|
208
|
+
keyword: z.string().optional().describe("标题模糊筛选"),
|
|
209
|
+
trigger_key: z
|
|
210
|
+
.string()
|
|
211
|
+
.optional()
|
|
212
|
+
.describe("自动化场景:join_cart/abandon=弃单, order_paid=订单确认, order_fulfilled=发货, subscribe/customer_created=订阅欢迎, viewed_product=浏览商品"),
|
|
213
|
+
limit: z.number().int().min(1).max(30).default(15).describe("返回条数,最大30"),
|
|
214
|
+
},
|
|
215
|
+
async ({ template_type, category_id, keyword, trigger_key, limit }) => {
|
|
216
|
+
const body = { limit };
|
|
217
|
+
if (template_type) body.templateType = template_type;
|
|
218
|
+
if (category_id) body.categoryId = category_id;
|
|
219
|
+
if (keyword) body.keyword = keyword;
|
|
220
|
+
if (trigger_key) body.triggerKey = trigger_key;
|
|
221
|
+
const data = await callApi("/api/v1/template/system/list", body);
|
|
222
|
+
return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
|
|
223
|
+
}
|
|
224
|
+
);
|
|
225
|
+
|
|
226
|
+
server.tool(
|
|
227
|
+
"template_get_system",
|
|
228
|
+
"读系统模板详情:板块摘要 + textNodes(可定位的文案节点)+ 渲染 HTML。用于学习结构,或配合 template_create_from_design 的 templateId/textOverrides 精确改写文案。",
|
|
229
|
+
{
|
|
230
|
+
id: z.string().min(1).describe("系统模板id(template_list_system 返回)"),
|
|
231
|
+
},
|
|
232
|
+
async ({ id }) => {
|
|
233
|
+
const data = await callApi("/api/v1/template/system/get", { id });
|
|
234
|
+
return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
|
|
235
|
+
}
|
|
236
|
+
);
|
|
237
|
+
|
|
238
|
+
server.tool(
|
|
239
|
+
"template_system_categories",
|
|
240
|
+
"列出系统模板分类(campaigns 或 automation),用于 template_list_system 的 category_id 筛选。",
|
|
241
|
+
{
|
|
242
|
+
template_type: z.enum(["campaigns", "automation"]).default("campaigns").describe("模板类型"),
|
|
243
|
+
},
|
|
244
|
+
async ({ template_type }) => {
|
|
245
|
+
const data = await callApi("/api/v1/template/system/categories", { templateType: template_type });
|
|
246
|
+
return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
|
|
247
|
+
}
|
|
248
|
+
);
|
|
249
|
+
|
|
250
|
+
server.tool(
|
|
251
|
+
"catalog_query",
|
|
252
|
+
"查创建规范目录(唯一真源): emailDesign(内容结构全文)/styles(4风格+行业配色)/layouts(6种骨架)/components(倒计时等额外组件)/discount/variants(多版本)/templateOverlay(套模板步骤)/handwriteHtml。不传 topic 返回目录清单。写 emailDesign 前必查。",
|
|
253
|
+
{
|
|
254
|
+
topic: z
|
|
255
|
+
.enum(["emailDesign", "styles", "layouts", "components", "discount", "variants", "templateOverlay", "handwriteHtml"])
|
|
256
|
+
.optional()
|
|
257
|
+
.describe("规范主题,不传返回清单"),
|
|
258
|
+
},
|
|
259
|
+
async ({ topic }) => {
|
|
260
|
+
const data = await callApi("/api/v1/template/catalog", topic ? { topic } : {});
|
|
261
|
+
return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
|
|
262
|
+
}
|
|
263
|
+
);
|
|
264
|
+
|
|
265
|
+
server.tool(
|
|
266
|
+
"block_library_query",
|
|
267
|
+
"查编辑器预置区块库:不传 category_id 返回分类清单;传了返回区块明细(blockId + textNodes)。区块可作为 template_create_from_design 的 blocks 参数插入。",
|
|
268
|
+
{
|
|
269
|
+
category_id: z.string().optional().describe("区块分类id(不传返回分类清单)"),
|
|
270
|
+
keyword: z.string().optional().describe("按标题筛选"),
|
|
271
|
+
limit: z.number().int().min(1).max(40).default(20).describe("条数,最大40"),
|
|
272
|
+
offset: z.number().int().min(0).default(0).describe("翻页偏移"),
|
|
273
|
+
},
|
|
274
|
+
async ({ category_id, keyword, limit, offset }) => {
|
|
275
|
+
const body = { limit, offset };
|
|
276
|
+
if (category_id) body.categoryId = category_id;
|
|
277
|
+
if (keyword) body.keyword = keyword;
|
|
278
|
+
const data = await callApi("/api/v1/template/block-library", body);
|
|
279
|
+
return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
|
|
280
|
+
}
|
|
281
|
+
);
|
|
282
|
+
|
|
283
|
+
server.tool(
|
|
284
|
+
"template_create_from_design",
|
|
285
|
+
`用结构化 emailDesign 生成模板(首选路径)。字段规范先查 catalog_query(topic=emailDesign)。
|
|
286
|
+
emailDesign 示例:{"style":"bold","theme":{"primaryColor":"#0f3460","accentColor":"#00adb5"},"announcement":"BLACK FRIDAY · 48H","preheader":"Up to 40% off","hero":{"title":"BLACK FRIDAY SALE","subtitle":"UP TO 40% OFF"},"intro":"...","products":[{"name":"Earbuds Pro","price":"$59.00","originalPrice":"$99.00"}],"offer":{"headline":"40% OFF","code":"{DiscountCode}"},"cta":{"text":"SHOP NOW","link":"{SiteUrl}"},"social":["instagram","facebook"]}
|
|
287
|
+
买家可见文案一律英文;商品位会尽量匹配店铺真实商品图。`,
|
|
288
|
+
{
|
|
289
|
+
title: z.string().min(1).max(100).describe("模板标题"),
|
|
290
|
+
email_design: z.string().min(1).describe("emailDesign JSON 字符串(数组可传1-3版,首版落库)"),
|
|
291
|
+
template_id: z.string().optional().describe("套用的系统模板 id(优先于 layout_skeleton)"),
|
|
292
|
+
layout_skeleton: z
|
|
293
|
+
.enum(["promo-hero", "promo-flash", "single-spotlight", "new-arrival", "newsletter", "win-back"])
|
|
294
|
+
.optional()
|
|
295
|
+
.describe("版式骨架(不套模板时用;与 text_overrides/component_overrides 互斥)"),
|
|
296
|
+
category_id: z.string().optional().describe("自动匹配模板时的行业分类"),
|
|
297
|
+
scene_keyword: z.string().optional().describe("自动匹配模板时的场景关键词(如 弃单/新品/圣诞)"),
|
|
298
|
+
text_overrides: z
|
|
299
|
+
.array(z.object({ node_id: z.string(), text: z.string() }))
|
|
300
|
+
.optional()
|
|
301
|
+
.describe("按节点改文案(套模板时用,template_get_system 的 textNodes 提供 node_id)"),
|
|
302
|
+
component_overrides: z
|
|
303
|
+
.array(z.object({ node_id: z.string(), settings: z.record(z.any()) }))
|
|
304
|
+
.optional()
|
|
305
|
+
.describe("按节点覆盖字段(链接/图片/颜色等)"),
|
|
306
|
+
components: z
|
|
307
|
+
.array(z.record(z.any()))
|
|
308
|
+
.max(4)
|
|
309
|
+
.optional()
|
|
310
|
+
.describe("额外组件(如 [{type:'countdown',endTime:'2026-12-01 23:59:59'}],规范查 catalog_query(topic=components))"),
|
|
311
|
+
blocks: z
|
|
312
|
+
.array(z.record(z.any()))
|
|
313
|
+
.max(4)
|
|
314
|
+
.optional()
|
|
315
|
+
.describe("预置区块([{blockId, textOverrides:[{nodeId,text}]}],来自 block_library_query)"),
|
|
316
|
+
summary: z.string().optional().describe("模板备注"),
|
|
317
|
+
},
|
|
318
|
+
async (a) => {
|
|
319
|
+
const body = { title: a.title, emailDesign: a.email_design };
|
|
320
|
+
for (const [k, v] of [
|
|
321
|
+
["templateId", a.template_id],
|
|
322
|
+
["layoutSkeleton", a.layout_skeleton],
|
|
323
|
+
["categoryId", a.category_id],
|
|
324
|
+
["sceneKeyword", a.scene_keyword],
|
|
325
|
+
["textOverrides", a.text_overrides?.map((x) => ({ nodeId: x.node_id, text: x.text }))],
|
|
326
|
+
["componentOverrides", a.component_overrides?.map((x) => ({ nodeId: x.node_id, settings: x.settings }))],
|
|
327
|
+
["components", a.components],
|
|
328
|
+
["blocks", a.blocks],
|
|
329
|
+
["summary", a.summary],
|
|
330
|
+
]) {
|
|
331
|
+
if (v !== undefined) body[k] = v;
|
|
332
|
+
}
|
|
333
|
+
const data = await callApi("/api/v1/template/create-from-design", body);
|
|
334
|
+
return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
|
|
335
|
+
}
|
|
336
|
+
);
|
|
337
|
+
|
|
338
|
+
server.tool(
|
|
339
|
+
"template_preview",
|
|
340
|
+
"预览模板:返回渲染好的 HTML(可视化确认)和免登永久预览链接(可直接发给同事/客户在浏览器打开)。",
|
|
341
|
+
{
|
|
342
|
+
id: z.string().min(1).describe("模板id"),
|
|
343
|
+
},
|
|
344
|
+
async ({ id }) => {
|
|
345
|
+
const data = await callApi("/api/v1/template/preview", { id });
|
|
346
|
+
const text = `预览链接(免登):${API_BASE}${data.url}\n\n渲染HTML(${(data.html || "").length} 字符):\n${(data.html || "").slice(0, 4000)}${(data.html || "").length > 4000 ? "\n...(已截断,完整内容请打开预览链接)" : ""}`;
|
|
347
|
+
return { content: [{ type: "text", text }] };
|
|
348
|
+
}
|
|
349
|
+
);
|
|
350
|
+
|
|
351
|
+
server.tool(
|
|
352
|
+
"template_send_test",
|
|
353
|
+
"发送测试邮件(主题前缀 MambaSend Preview,1~10 个收件人,同店铺 2 分钟内只能发一次)。用于看真实收件箱效果。",
|
|
354
|
+
{
|
|
355
|
+
id: z.string().min(1).describe("模板id"),
|
|
356
|
+
emails: z.array(z.string()).min(1).max(10).describe("收件邮箱,最多10个"),
|
|
357
|
+
},
|
|
358
|
+
async ({ id, emails }) => {
|
|
359
|
+
const data = await callApi("/api/v1/template/send-test", { id, emails });
|
|
360
|
+
return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
|
|
361
|
+
}
|
|
362
|
+
);
|
|
363
|
+
|
|
364
|
+
server.tool(
|
|
365
|
+
"template_export",
|
|
366
|
+
"导出模板为 .mambatpl 平台模板文件(加密),返回 CDN 下载地址。可用于备份或跨店铺迁移。",
|
|
367
|
+
{
|
|
368
|
+
id: z.string().min(1).describe("模板id"),
|
|
369
|
+
},
|
|
370
|
+
async ({ id }) => {
|
|
371
|
+
const data = await callApi("/api/v1/template/export", { id });
|
|
372
|
+
return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
|
|
373
|
+
}
|
|
374
|
+
);
|
|
375
|
+
|
|
376
|
+
server.tool(
|
|
377
|
+
"template_import",
|
|
378
|
+
"从 URL 导入模板。source_type=mambatpl:平台导出的加密模板文件;source_type=zipHtml:外部设计工具导出的 zip(后端解包并把图片转存 CDN)。",
|
|
379
|
+
{
|
|
380
|
+
url: z.string().url().describe("文件下载地址(http/https)"),
|
|
381
|
+
source_type: z.enum(["mambatpl", "zipHtml"]).default("mambatpl").describe("文件类型"),
|
|
382
|
+
title: z.string().optional().describe("新模板标题(不传则用文件内的标题)"),
|
|
383
|
+
},
|
|
384
|
+
async ({ url, source_type, title }) => {
|
|
385
|
+
const body = { url, sourceType: source_type };
|
|
386
|
+
if (title !== undefined) body.title = title;
|
|
387
|
+
const data = await callApi("/api/v1/template/import", body);
|
|
388
|
+
return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
|
|
389
|
+
}
|
|
390
|
+
);
|
|
391
|
+
|
|
392
|
+
server.tool(
|
|
393
|
+
"template_snippets",
|
|
394
|
+
"取页头/页脚 HTML 参考片段(可直接嵌进模板 HTML,已是邮件客户端兼容的内联样式表格)。页脚含 LOGO/链接列/联系方式/退订;footer-social 含社交图标(平台动态图服务)。",
|
|
395
|
+
{
|
|
396
|
+
type: z.enum(["header-basic", "footer-basic", "footer-social"]).describe("片段类型"),
|
|
397
|
+
},
|
|
398
|
+
async ({ type }) => {
|
|
399
|
+
const { readFile } = await import("node:fs/promises");
|
|
400
|
+
const { fileURLToPath } = await import("node:url");
|
|
401
|
+
const { dirname, join } = await import("node:path");
|
|
402
|
+
const here = dirname(fileURLToPath(import.meta.url));
|
|
403
|
+
const html = await readFile(join(here, "snippets", `${type}.html`), "utf8");
|
|
404
|
+
return { content: [{ type: "text", text: html }] };
|
|
405
|
+
}
|
|
406
|
+
);
|
|
407
|
+
|
|
195
408
|
const transport = new StdioServerTransport();
|
|
196
409
|
await server.connect(transport);
|
|
197
410
|
console.error(`mambasms-mcp-server ready, api=${API_BASE}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mambasms/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "MCP server for MambaSMS email templates - create/manage templates from AI agents (Codex, Claude Desktop, Cursor)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
},
|
|
17
17
|
"files": [
|
|
18
18
|
"index.js",
|
|
19
|
-
"README.md"
|
|
19
|
+
"README.md",
|
|
20
|
+
"snippets"
|
|
20
21
|
],
|
|
21
22
|
"engines": {
|
|
22
23
|
"node": ">=18"
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background-color:#1a1a1a;">
|
|
2
|
+
<tbody>
|
|
3
|
+
<tr>
|
|
4
|
+
<td align="center" style="padding:32px 24px;">
|
|
5
|
+
<table width="600" border="0" cellpadding="0" cellspacing="0" role="presentation">
|
|
6
|
+
<tbody>
|
|
7
|
+
<tr>
|
|
8
|
+
<td width="34%" valign="top" style="padding-right:16px;">
|
|
9
|
+
<p style="margin:0 0 8px;font-family:Arial,sans-serif;font-size:18px;letter-spacing:4px;color:#ffffff;">LOGO</p>
|
|
10
|
+
<p style="margin:0 0 16px;font-family:Arial,sans-serif;font-size:11px;color:#9a9a9a;">Add your logo image</p>
|
|
11
|
+
<p style="margin:0;font-family:Arial,sans-serif;font-size:13px;line-height:1.6;color:#d0d0d0;">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
|
12
|
+
</td>
|
|
13
|
+
<td width="33%" valign="top" style="padding-right:16px;">
|
|
14
|
+
<p style="margin:0 0 12px;font-family:Arial,sans-serif;font-size:15px;font-weight:700;color:#ffffff;">Links</p>
|
|
15
|
+
<p style="margin:0 0 8px;font-family:Arial,sans-serif;font-size:13px;"><a href="{SiteUrl}/collections/jewellery" style="color:#ffffff;text-decoration:none;">Jewellery</a></p>
|
|
16
|
+
<p style="margin:0 0 8px;font-family:Arial,sans-serif;font-size:13px;"><a href="{SiteUrl}/collections/watches" style="color:#ffffff;text-decoration:none;">Watches</a></p>
|
|
17
|
+
<p style="margin:0 0 8px;font-family:Arial,sans-serif;font-size:13px;"><a href="{SiteUrl}" style="color:#ffffff;text-decoration:none;">Webshop</a></p>
|
|
18
|
+
<p style="margin:0 0 8px;font-family:Arial,sans-serif;font-size:13px;"><a href="{SiteUrl}/collections/sale" style="color:#ffffff;text-decoration:none;">Sale</a></p>
|
|
19
|
+
<p style="margin:0;font-family:Arial,sans-serif;font-size:13px;"><a href="{Unsubscribe}" style="color:#ffffff;text-decoration:none;">Unsubscribe</a></p>
|
|
20
|
+
</td>
|
|
21
|
+
<td width="33%" valign="top">
|
|
22
|
+
<p style="margin:0 0 12px;font-family:Arial,sans-serif;font-size:15px;font-weight:700;color:#ffffff;">Contact</p>
|
|
23
|
+
<p style="margin:0 0 8px;font-family:Arial,sans-serif;font-size:13px;"><a href="mailto:info@company.com" style="color:#ffffff;text-decoration:none;">Info@company.com</a></p>
|
|
24
|
+
<p style="margin:0 0 16px;font-family:Arial,sans-serif;font-size:13px;"><a href="{SiteUrl}/pages/help-center" style="color:#ffffff;text-decoration:none;">Help Center</a></p>
|
|
25
|
+
<p style="margin:0;font-family:Arial,sans-serif;font-size:12px;line-height:1.6;color:#9a9a9a;">Copyright © {SiteName}</p>
|
|
26
|
+
<p style="margin:0;font-family:Arial,sans-serif;font-size:12px;line-height:1.6;color:#9a9a9a;">{SiteAddress}, {SiteCity}, {SiteCountry}</p>
|
|
27
|
+
</td>
|
|
28
|
+
</tr>
|
|
29
|
+
</tbody>
|
|
30
|
+
</table>
|
|
31
|
+
</td>
|
|
32
|
+
</tr>
|
|
33
|
+
</tbody>
|
|
34
|
+
</table>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background-color:#1a1a1a;">
|
|
2
|
+
<tbody>
|
|
3
|
+
<tr>
|
|
4
|
+
<td align="center" style="padding:28px 24px;">
|
|
5
|
+
<table width="600" border="0" cellpadding="0" cellspacing="0" role="presentation">
|
|
6
|
+
<tbody>
|
|
7
|
+
<tr>
|
|
8
|
+
<td align="center" style="padding-bottom:16px;">
|
|
9
|
+
<a href="https://instagram.com/yourbrand" target="_blank" style="text-decoration:none;"><img src="https://link.mambasms.com/dynamicImage/instagram/28/100/default" width="28" height="28" alt="instagram" style="display:inline-block;margin:0 8px;border:0;"></a>
|
|
10
|
+
<a href="https://facebook.com/yourbrand" target="_blank" style="text-decoration:none;"><img src="https://link.mambasms.com/dynamicImage/facebook/28/100/default" width="28" height="28" alt="facebook" style="display:inline-block;margin:0 8px;border:0;"></a>
|
|
11
|
+
<a href="https://x.com/yourbrand" target="_blank" style="text-decoration:none;"><img src="https://link.mambasms.com/dynamicImage/twitter/28/100/default" width="28" height="28" alt="x" style="display:inline-block;margin:0 8px;border:0;"></a>
|
|
12
|
+
<a href="https://linkedin.com/company/yourbrand" target="_blank" style="text-decoration:none;"><img src="https://link.mambasms.com/dynamicImage/linkedIn/28/100/default" width="28" height="28" alt="linkedin" style="display:inline-block;margin:0 8px;border:0;"></a>
|
|
13
|
+
<a href="https://tiktok.com/@yourbrand" target="_blank" style="text-decoration:none;"><img src="https://link.mambasms.com/dynamicImage/tiktok/28/100/default" width="28" height="28" alt="tiktok" style="display:inline-block;margin:0 8px;border:0;"></a>
|
|
14
|
+
<a href="https://youtube.com/@yourbrand" target="_blank" style="text-decoration:none;"><img src="https://link.mambasms.com/dynamicImage/youTube/28/100/default" width="28" height="28" alt="youtube" style="display:inline-block;margin:0 8px;border:0;"></a>
|
|
15
|
+
</td>
|
|
16
|
+
</tr>
|
|
17
|
+
<tr>
|
|
18
|
+
<td align="center" style="padding-bottom:12px;">
|
|
19
|
+
<p style="margin:0;font-family:Arial,sans-serif;font-size:12px;line-height:1.7;color:#9a9a9a;">Copyright © {SiteName} | {SiteAddress}, {SiteCity}, {SiteCountry}</p>
|
|
20
|
+
<p style="margin:0;font-family:Arial,sans-serif;font-size:12px;line-height:1.7;color:#9a9a9a;">This email was sent to {ContactEmail} because you've subscribed on our site or made a purchase.</p>
|
|
21
|
+
<p style="margin:0;font-family:Arial,sans-serif;font-size:12px;line-height:1.7;color:#9a9a9a;"><a href="{Unsubscribe}" style="color:#9a9a9a;text-decoration:underline;">Unsubscribe</a></p>
|
|
22
|
+
</td>
|
|
23
|
+
</tr>
|
|
24
|
+
</tbody>
|
|
25
|
+
</table>
|
|
26
|
+
</td>
|
|
27
|
+
</tr>
|
|
28
|
+
</tbody>
|
|
29
|
+
</table>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background-color:#ffffff;">
|
|
2
|
+
<tbody>
|
|
3
|
+
<tr>
|
|
4
|
+
<td align="center" style="padding:24px 24px 8px;">
|
|
5
|
+
<table width="600" border="0" cellpadding="0" cellspacing="0" role="presentation">
|
|
6
|
+
<tbody>
|
|
7
|
+
<tr>
|
|
8
|
+
<td align="left" valign="middle">
|
|
9
|
+
<a href="{SiteUrl}" target="_blank" style="text-decoration:none;"><img src="https://via.placeholder.com/120x32?text=LOGO" width="120" height="32" alt="{SiteName}" style="display:block;border:0;"></a>
|
|
10
|
+
</td>
|
|
11
|
+
<td align="right" valign="middle" style="font-family:Arial,sans-serif;font-size:13px;">
|
|
12
|
+
<a href="{SiteUrl}/collections/new" style="color:#333333;text-decoration:none;margin-left:16px;">New In</a>
|
|
13
|
+
<a href="{SiteUrl}/collections/all" style="color:#333333;text-decoration:none;margin-left:16px;">Shop</a>
|
|
14
|
+
<a href="{SiteUrl}/pages/help-center" style="color:#333333;text-decoration:none;margin-left:16px;">Help</a>
|
|
15
|
+
</td>
|
|
16
|
+
</tr>
|
|
17
|
+
</tbody>
|
|
18
|
+
</table>
|
|
19
|
+
</td>
|
|
20
|
+
</tr>
|
|
21
|
+
</tbody>
|
|
22
|
+
</table>
|