创建邮件模板

在登录蜂巢后台,短信邮件 ->邮件模板

点击“添加”按钮,如下图,添加模板名称,邮件标题,模板内容等。模板内容支持HTML格式,您可以先设计好模板内容,然后贴到邮件模板里。如下模板示例。

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f9f9f9; }
        .container { width: 100%; max-width: 600px; margin: auto; background: #fff; padding: 20px; border-radius: 5px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
        .header { background: #007BFF; color: white; padding: 10px; text-align: center; border-radius: 5px 5px 0 0; }
        .footer { text-align: center; font-size: 12px; color: #888; margin-top: 20px; }
        .important { color: #FF0000; font-weight: bold; }
        .button { background: #28A745; color: white; padding: 10px 20px; text-decoration: none; border-radius: 5px; display: inline-block; margin-top: 10px; }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>充值账号信息</h1>
        </div>
        <p>亲爱的${customer}</p>
        <p>感谢您选择我们的服务!以下是您的卡号充值账号信息:</p>

        <h3>充值账号信息</h3>
        <p><strong>账号:</strong> <span class="important">${account}</span></p>
        <p><strong>充值金额:</strong> <span class="important">${amount}</span></p>

          <p>已将上述金额充值到您的账号。</p>

        <a href="https://example.com/support" class="button">联系客服</a>

        <div class="footer">
            <p>&copy; 2025 Your Company. All rights reserved.</p>
        </div>
    </div>
</body>
</html>

点击确定。

文档更新时间: 2025-06-11 21:09   作者:admin