{include file="public/layout" /}

### 电子邮箱

#####

{eq name="'System@smtp'|is_check_access" value="1"}
- 邮箱配置
{/eq} {eq name="'System@smtp_tpl'|is_check_access" value="1"}
- 自定义模板
{/eq}

{empty name='$is_conf'}

- 提示：邮箱尚未配置信息，全站邮箱功能将无法使用。

{/empty}

模板名称 | 邮件标题 | 接收人
--- | --- | ---

{empty name="list"}
{else/} {foreach name="list" item="vo" key="k" }
{$vo.tpl_name} | {php} $disabled_str = ''; $web_users_switch = !empty($global['web_users_switch']) ? $global['web_users_switch'] : 0; if ((empty($shop_open) || $php_servicemeal <= 1) && in_array($vo['send_scene'], [5,6])) { $disabled_str = 'disabled="disabled" title="请开启商城中心"'; } else if (empty($web_users_switch) && in_array($vo['send_scene'], [2,3,4])) { $disabled_str = 'disabled="disabled" title="请开启会员中心"'; } else if (in_array($vo['send_scene'], [30])) { $disabled_str = 'title="仅限于后台登录的双因子验证"'; } {/php} | {if condition="in_array($vo.send_scene,[1, 5, 20, 30])"} 站长 {else /} 用户 {/if}
{/foreach} {/empty}

{include file="public/footer" /}