{literal} {/literal} {if $smarty.get.cat == 'edit'} {else} {/if} {if $result != ""} {/if}
Manage Email Accounts
{if $smarty.post.cat == "new"} {if $result == -1} An error occurred while trying to add the new account. {elseif $result == 1} Thank you, the email account was added successfully. {/if} {elseif $smarty.post.cat == "update"} {if $result == -1} An error occurred while trying to update the account information. {elseif $result == 1} Thank you, the account was updated successfully. {/if} {/if}
Associated Project: {include file="error_icon.tpl.html" field="project"}
Type:
Hostname: {include file="error_icon.tpl.html" field="hostname"}
Port: (Tip: port defaults are 110 for POP3 servers and 143 for IMAP ones) {include file="error_icon.tpl.html" field="port"}
IMAP Folder: (default folder is INBOX) {include file="error_icon.tpl.html" field="folder"}
Username: {include file="error_icon.tpl.html" field="username"}
Password: {include file="error_icon.tpl.html" field="password"}
Advanced Options: Only Download Unread Messages
Leave Copy of Messages On Server
Use account for non-subject based email/note/draft routing. Note: If you check this, you cannot leave a copy of messages on the server.
{if $smarty.get.cat == 'edit'} {else} {/if}
Existing Accounts:
{literal} {/literal} {section name="i" loop=$list} {cycle values=$cycle assign="row_color"} {sectionelse} {/section}
 Associated Project  Hostname  Type  Port  Username  Mailbox  Auto-Creation of Issues
 {$list[i].prj_title}  {$list[i].ema_hostname|escape:"html"}  {$list[i].ema_type}  {$list[i].ema_port}  {$list[i].ema_username|escape:"html"}  {$list[i].ema_folder}  {$list[i].ema_issue_auto_creation|ucfirst}
No email accounts could be found.
{literal} {/literal}