🎀 🌸

【教程】序智应用 – 邮箱配置教程

有问题请联系小渡qq2092115940

【教程】序智应用 – 邮箱配置教程

配置说明

 

  1. 邮件地址:就是您用来发信的邮箱 例如 123123@qq.com
  2. 发件人姓名:就是别人看到的名称,这个可以自定义
  3. 发信HOST:一般可以在邮箱后台查看,QQ一般是smtp.exmail.qq.com
  4. 发送端口:一般可以在邮箱后台查看
  5. 邮箱密码:就是您自己的邮箱密码
  6. 模板您可以在论坛找到一些好看的,或者可以自行编辑

    https://s.dwo.cc/home/index/index

模板参考

自带模板

<div style="margin: 0;padding: 0;width: 100%;">
    <div style="width: calc(100% - 80px);border: 2px solid #235eff;margin: 0 auto;padding: 20px;border-radius: 10px;">
        <p style="margin: 0;">你的系统名称</p>
        <p style="text-align: center;font-size: 16px;">您的验证码为 <span style="color: #235eff;font-weight: 800;">{code}</span> ,请在3分钟内使用!</p>
        <p style="text-align: center;font-size: 14px;color: #999;">我们不会以任何方式向您索要验证码,请勿将验证码告知他人</p>
        <p style="text-align: center;">
            <a style="text-decoration: none;color: #235eff;font-size: 14px;" href="/">访问首页</a>
            <a style="text-decoration: none;color: #235eff;font-size: 14px;" href="/">在线客服</a>
        </p>
    </div>
</div>

优化模板

<div>
    <includetail>
        <style>
            /* CLIENT-SPECIFIC STYLES */
            body,
            table,
            td,
            a {
                -webkit-text-size-adjust: 100%;
                -ms-text-size-adjust: 100%;
            }

            table,
            td {
                mso-table-lspace: 0pt;
                mso-table-rspace: 0pt;
            }

            img {
                -ms-interpolation-mode: bicubic;
            }

            .hidden {
                display: none !important;
                visibility: hidden !important;
            }

            /* iOS BLUE LINKS */
            a[x-apple-data-detectors] {
                color: inherit !important;
                text-decoration: none !important;
                font-size: inherit !important;
                font-family: inherit !important;
                font-weight: inherit !important;
                line-height: inherit !important;
            }

            /* ANDROID MARGIN HACK */
            body {
                margin: 0 !important;
            }

            div[style*="margin: 16px 0"] {
                margin: 0 !important;
            }

            @media only screen and (max-width: 639px) {

                body,
                #body {
                    min-width: 320px !important;
                }

                table.wrapper {
                    width: 100% !important;
                    min-width: 320px !important;
                }
            }
        </style>
        <style>
            body {
                -webkit-text-size-adjust: 100%;
                -ms-text-size-adjust: 100%;
            }

            img {
                -ms-interpolation-mode: bicubic;
            }

            body {
                margin: 0 !important;
            }
        </style>


        <table border="0" cellpadding="0" cellspacing="0" id="body"
            style="text-align: center; min-width: 640px; width: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt; margin: 0; padding: 0;"
            bgcolor="#fafafa">
            <tbody>

                <tr class="line">
                    <td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; height: 4px; font-size: 4px; line-height: 4px; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"
                        bgcolor="#6b4fbb">&nbsp;
                    </td>
                </tr>

                <tr class="header">
                    <td
                        style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 13px; line-height: 1.6; color: #5c5c5c; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt; padding: 25px 0;">
                        <img src="http://192.168.10.105/assets/mailers/gitlab_header_logo-153749eaa7ea6fafcb995161abd3247bc4c4500f31498b0c4024f50093983ac0.gif"
                            width="55" height="50" style="-ms-interpolation-mode: bicubic;">
                    </td>
                </tr>
                <tr>
                    <td
                        style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt;">
                        <table border="0" cellpadding="0" cellspacing="0" class="wrapper"
                            style="width: 640px; border-collapse: separate; border-spacing: 0; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt; margin: 0 auto;">
                            <tbody>
                                <tr>
                                    <td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; border-radius: 3px; overflow: hidden; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt; padding: 18px 25px; border: 1px solid #ededed;"
                                        align="left" bgcolor="#ffffff">
                                        <table border="0" cellpadding="0" cellspacing="0" class="content"
                                            style="width: 100%; border-collapse: separate; border-spacing: 0; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt;">
                                            <tbody>
                                                <tr>
                                                    <td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; color: #333333; font-size: 15px; font-weight: 400; line-height: 1.4; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt; padding: 15px 5px;"
                                                        align="center">
                                                        <h1 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; color: #333333; font-size: 18px; font-weight: 400; line-height: 1.4; margin: 0; padding: 0;"
                                                            align="center">
                                                            你好,张三!
                                                        </h1>
                                                        <p>
                                                            您的验证码为
                                                        </p>
                                                        <div id="cta">
                                                            <a>{code}</a>
                                                        </div>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr class="footer">
                    <td
                        style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 13px; line-height: 1.6; color: #5c5c5c; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt; padding: 25px 0;">
                        <img height="33"
                            src="http://192.168.10.105/assets/mailers/gitlab_footer_logo-078860f148cc9596195e6bb3fa7db31c30538355576c5c3b569c414902e3d095.gif"
                            style="display: block; -ms-interpolation-mode: bicubic; margin: 0 auto 1em;" width="90">

                        <div>
                            您收到这封电子邮件是因为你在 XX平台 拥有帐户。
                            <a style="color: #3777b0; text-decoration: none; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;"
                                href="">
                                管理全部通知
                            </a>
                        </div>
                    </td>
                </tr>

            </tbody>
        </table>
    </includetail>
</div>
温馨提示:本文最后更新于2025-02-22 10:26:38,某些文章具有时效性,若有错误或已失效,请在下方留言或联系站长
版权声明

   站内部分内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供网络资源分享服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请 联系我们 一经核实,立即删除。并对发布账号进行永久封禁处理。在为用户提供最好的产品同时,保证优秀的服务质量。


本站仅提供信息存储空间,不拥有所有权,不承担相关法律责任。
THE END
喜欢就支持一下吧
分享
评论 抢沙发

请登录后发表评论

    暂无评论内容