  
<table border="0" align="center" cellpadding="0" cellspacing="0" ms-controller="EmailInterface" id="mian">
    <tbody>
        <tr>
            <!--leftNav-->
            <td width="198" height="450" valign="top" id="tdleft"> 
                  <div id="left" ms-widget="leftMenu"></div>
                <!--End leftNav-->
            </td>
            <!--leftNav end-->

            <!--rightNav-->
            <td valign="top" id="right" class="addrightbg">
                <div class="boxtip" id="boxtip">
                    <h1 ms-html="title"></h1>
                    <p ms-html="description"></p>
                    <a href="javascript:history.go(-1)" class="btn_back"></a>
                </div>

             <!--电子邮件设置-->
                <div>
                    <table width="96%" border="0" cellspacing="0" cellpadding="0" class="formTable">
                     <tbody>
                         <tr>
                         <td colspan="2">
                             <select ms-duplex="selectItem">
	                            <option ms-repeat-item="emailList" ms-value="item.Id">{{!item.Email ? lang.EmailAdd : item.Email}}</option>
                             </select>
                             <a ms-if="emailEntity.Id" href="javascript:void(0)" ms-click="emailDel" class="dodel">删除</a>
                         </td>
                         </tr>
                            <tr>
                                <td width="100" style="vertical-align:top;">{{lang.EmailAddress}}：</td>
                                <td class="Area">
                                    <input type="text" ms-duplex="emailEntity.Email">
                                    <span class="must">*</span>
                                    <div class="tipContent">隐私提醒：请尽量采用公司分配的工作邮箱，否则您的邮件有可能会被分配有查看权限的上级浏览到</div>
                                </td>
                            </tr>
                            <tr>
                                <td width="100">{{lang.EmailSmtp}}：</td>
                                <td class="Area">
                                    <input type="text" ms-duplex="emailEntity.SMTP">
                                    <span class="must">*</span>
                                </td>
                            </tr>
                            <tr>
                                <td width="100">{{lang.EmailImap}}：</td>
                                <td class="Area">
                                    <input type="text" ms-duplex="emailEntity.IMAP">
                                </td>
                            </tr>
                         <tr>
                                <td width="100">Imap端口：</td>
                                <td class="Area">
                                    <input type="text" ms-duplex="emailEntity.IMAPPort" style="width:100px;" title="默认使用143端口">
                                    <label style="float:none;">
                                    <input type="checkbox" ms-duplex-radio="emailEntity.IMAPSsl" style="float:none;" />使用SSL加密连接</label>
                                </td>
                            </tr>
                            <tr>
                                <td width="100">{{lang.EmailPop3}}：</td>
                                <td class="Area">
                                    <input type="text" ms-duplex="emailEntity.POP3">
                                </td>
                            </tr>
                         <tr>
                                <td width="100">Pop3端口：</td>
                                <td class="Area">
                                    <input type="text" ms-duplex="emailEntity.POP3Port" style="width:100px;" title="默认使用143端口">
                                    <label style="float:none;">
                                    <input type="checkbox" ms-duplex-radio="emailEntity.POP3Ssl" style="float:none;" />使用SSL加密连接</label>
                                </td>
                            </tr>
                            <tr>
                                <td>{{lang.EmailAccount}}：</td>
                                <td align="left">
                                    <input type="text" ms-duplex="emailEntity.MailAccount">
                                    <span class="must">*</span>
                                </td>
                            </tr>
                            <tr>
                                <td>{{lang.EmailPassword}}：</td>
                                <td align="left">
                                    <input type="password" ms-duplex="emailEntity.MailPassword">
                                    <span class="must">*</span>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" style="text-align:center;">
                                    <div class="form-actions"><input type="submit" ms-value="lang.SubmitBtn" class="btn btn-primary" ms-click="emailSubmit"></div>
                                </td>
                            </tr>
                        </tbody>
                      </table>
                </div>
                <!--电子邮件设置END-->

            </td>
        </tr>
    </tbody>
</table>
