<!--
Copyright by Thomas Bley 2002-2003
thomas.bley@simple-groupware.de

http://www.simple-groupware.de
-->
<html>
<head>
	<title>Webmail by Thomas Bley - Simple Groupware Solutions - more.groupware</title>
    <meta http-equiv="content-type" content="text/html; charset={$charset}">
	<link rel="SHORTCUT ICON" href="{$imgpathmaster}/favicon.ico">
	<link rel="icon" href="{$imgpathmaster}/favicon.ico" type="image/ico">
<!--    <link rel="stylesheet" type="text/css" href="http://localhost:81/mgw-11-02-03/mgw/modules/general/templates/default/css/Morelogs_Silver.css" />-->

	<script type="text/javascript" src="templates/default/htmlarea/htmlarea.js"></script>
	<script type="text/javascript" src="templates/default/htmlarea/htmlarea-lang-en.js"></script>
	<script type="text/javascript" src="templates/default/htmlarea/dialog.js"></script>

{literal}
	<script type="text/javascript">
		var editor = null;
		function initEditor() {
		  editor = new HTMLArea("wm2_signature_html");

		var config = editor.config;

		config.toolbar = [
			 [ "fontname", "space" ],
			 [ "fontsize", "space" ],
			 [ "bold", "italic", "underline", "separator" ],
			 [ "justifyleft", "justifycenter", "justifyright", "justifyfull", "separator" ],
			 [ "outdent", "indent", "separator" ],
			 [ "forecolor" ],
			 [ "createlink", "htmlmode"]
		];
		editor.generate();
		}
	</script>
{/literal}


<style type="text/css">

{literal}

@import url(templates/default/htmlarea/htmlarea.css);

body {scrollbar-face-color: #E4E4E4; scrollbar-shadow-color: #000000;scrollbar-highlight-color: #FFFFFF; scrollbar-3dlight-color: #999999;scrollbar-darkshadow-color: #999999; scrollbar-track-color: #F3F3F3;scrollbar-arrow-color: #000000;
  BORDER-LEFT:#434343 1px solid;
}
td {  font-family: Arial, Helvetica,sans-serif; font-size: 10pt; font-variant: normal; text-transform: none; color: #000000}
a:hover {  color: #CC0000; text-decoration: underline}
.lines
{color:#ffffff;
background:#ffffff;}

.lines2
{color:#ffffff;
background:#838899;}

{/literal}
</style>

<script>
	var custom_font = '{$custom_font}';
	var custom_font_size = '{$custom_font_size}';
</script>

</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" link="#1F4687" vlink="#1F4687" alink="#1F4687" bgcolor="#F3F3F3" onload="initEditor()">

<center>

<table border="0" cellpadding="0" cellspacing="0" height="100%" width="98%"><tr><td valign="top">
<img src="templates/default/media/spacer.gif" alt="" width="1" height="7" border="0"><br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#D1D1D1"><td>
&nbsp;<font color="#4E4E4E"><b> 
	{if $wm2_mailboxname == ""}
	{$hashmap.webmail2_settings_new_account}
    {else}
	{$hashmap.webmail2_settings_edit_account}
	{/if}
</b></font>
</td></tr></table>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<form name="f1" action="settings.php" method="post">
	<input type="hidden" name="{$SESSIONNAME}" value="{$SESSIONID}">			
	<input type="hidden" name="action" value="{$action}">			
	<input type="hidden" name="account" value="{$account}">			
	<input type="hidden" name="type" value="{$type}">			

  <tr valign="top">
    <td class="contentback" height="200" align="left" valign="top">

	<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
		<TR ALIGN="left">
			<TD CLASS="tab"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="tab"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="tab" width="300"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="10" HSPACE="0" VSPACE="0" BORDER="0"></TD>
		</TR>
		
        {if ($wm2_user eq "admin") and $wm2_mailboxname neq "default"}
			{if  $wm2_mailboxname eq ""}
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_username}</TD>
			<TD CLASS="formhead">
            <select name="the_user_id">
    		{section name=mailbox loop=$wm2_users}
                <option value="{$wm2_users[mailbox][0]}" {if $wm2_users[mailbox][0] eq $wm2_the_user_id}selected{/if}>{$wm2_users[mailbox][1]}
            {/section}
            </select>
            </TD>
		</TR>
		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			{/if}
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_user_can_edit}</TD>
			<TD CLASS="formhead">
            <input type="Checkbox" name="wm2_usermaychange" value="checked" {$wm2_usermaychange}>
            </TD>
		</TR>

		<TR><TD CLASS="lines2" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
        {/if}
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_activate_account}</TD>
			<TD CLASS="formhead">&nbsp;<br><input type="Checkbox" name="wm2_activated" value="checked" {$wm2_activated}><br>&nbsp;</TD>
		</TR>

		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_account_name}</TD>
			{if $wm2_mailboxname == ""}
			<TD CLASS="formhead"><input type="text" name="wm2_mailboxname" size="20" maxlength="100" value="{$wm2_mailboxname}">&nbsp;&nbsp;&nbsp;{$message}</TD>
			{/if}
			{if $wm2_mailboxname != ""}
			<TD CLASS="formhead">{$wm2_mailboxname}</TD>
			{/if}
		</TR>

		<TR><TD CLASS="lines2" HEIGHT="1" WIDTH="1" COLSPAN="3"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" colspan="3"></TD>
		</TR>

        {if $wm2_servertype_imap_only neq "selected"}
		<TR><TD CLASS="lines2" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_mailserver_type}</TD>
			<TD CLASS="formhead"><select name="wm2_servertype" size="1">
								 <option value="wm2_servertype_pop3" {$wm2_servertype_pop3}>Pop3</option>
								 <option value="wm2_servertype_imap" {$wm2_servertype_imap}>Imap</option>
								 <!--<option value="wm2_servertype_imap_only" {$wm2_servertype_imap_only}>Imap only</option>-->
								 </select>
								 </TD>
		</TR>
        {else}
        <input type="Hidden" name="wm2_servertype" value="wm2_servertype_imap_only">
        {/if}

		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_mailserver}</TD>
			<TD CLASS="formhead"><input type="text" name="wm2_pophost" size="20" maxlength="100" value="{$wm2_pophost}"></TD>
		</TR>

		{if $php_version >= 430}
		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_enable_ssl}</TD>
			<TD CLASS="formhead">&nbsp;<br><input type="Checkbox" name="wm2_enable_ssl" value="checked" {$wm2_enable_ssl}><br>&nbsp;</TD>
		</TR>
        {else}
        <input type="Hidden" name="wm2_enable_ssl" value="">
        {/if}
        
        {if $wm2_servertype_imap_only eq "selected"}
		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_imap_list_all}</TD>
			<TD CLASS="formhead">&nbsp;<br><input type="Checkbox" name="wm2_imap_list_all" value="checked" {$wm2_imap_list_all}><br>&nbsp;</TD>
		</TR>
		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_imap_show_numbers}</TD>
			<TD CLASS="formhead">&nbsp;<br><input type="Checkbox" name="wm2_imap_show_numbers" value="checked" {$wm2_imap_show_numbers}><br>&nbsp;</TD>
		</TR>
		{/if}		
		
		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_username}</TD>
			<TD CLASS="formhead"><input type="text" name="wm2_username" size="20" maxlength="100" value="{$wm2_username}"></TD>
		</TR>

		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_password}</TD>
			<TD CLASS="formhead"><input type="password" name="wm2_password" size="20" maxlength="100" value="{$wm2_password}"></TD>
		</TR>

        {if $wm2_servertype_imap_only neq "selected"}
		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_leave_messages_on_server}</TD>
			<TD CLASS="formhead">&nbsp;<br><input type="Checkbox" name="wm2_leavemessages" value="checked" {$wm2_leavemessages}><br>&nbsp;</TD>
		</TR>
        {/if}

		<TR><TD CLASS="lines2" HEIGHT="1" WIDTH="1" COLSPAN="3"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" colspan="3"></TD>
		</TR>

		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_enable_smtp}</TD>
			<TD CLASS="formhead">&nbsp;<br><input type="Checkbox" name="wm2_enable_smtp" value="checked" {$wm2_enable_smtp}><br>&nbsp;</TD>
		</TR>

		<TR><TD CLASS="lines2" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_from_name}</TD>
			<TD CLASS="formhead"><input type="text" name="wm2_fullname" size="20" maxlength="100" value="{$wm2_fullname}"></TD>
		</TR>

		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_replyto}</TD>
			<TD CLASS="formhead"><input type="text" name="wm2_replyto" size="20" maxlength="100" value="{$wm2_replyto}"></TD>
		</TR>
		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead" valign="top">{$hashmap.webmail2_settings_signature}</TD>
			<TD CLASS="formhead"><textarea name="wm2_signature" cols="60" rows="5" style="width: 100%; font-size: 10pt; font-family: Verdana">{$wm2_signature}</textarea></TD>
		</TR>
		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead" valign="top">{$hashmap.webmail2_settings_signature_html}</TD>
			<TD CLASS="formhead" width="485"><textarea name="wm2_signature_html" id="wm2_signature_html" style="width:100%" rows="8">{$wm2_signature_html}</textarea></TD>
		</TR>
<!--
		<TR><TD CLASS="lines2" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_use_mail_function}</TD>
			<TD CLASS="formhead">&nbsp;<br><input type="Checkbox" name="wm2_usemailfunction" value="checked" {$wm2_usemailfunction}><br>&nbsp;</TD>
		</TR>
-->
		<TR><TD CLASS="lines2" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_smtp_host}</TD>
			<TD CLASS="formhead"><input type="text" name="wm2_smtphost" size="20" maxlength="100" value="{$wm2_smtphost}"></TD>
		</TR>

		{if $php_version >= 430}
		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_enable_ssl_smtp}</TD>
			<TD CLASS="formhead">&nbsp;<br><input type="Checkbox" name="wm2_enable_ssl_smtp" value="checked" {$wm2_enable_ssl_smtp}><br>&nbsp;</TD>
		</TR>
        {else}
        <input type="Hidden" name="wm2_enable_ssl_smtp" value="">
        {/if}

		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_popbeforesmtp}</TD>
			<TD CLASS="formhead">&nbsp;<br><input type="Checkbox" name="wm2_popbeforesmtp" value="checked" {$wm2_popbeforesmtp}><br>&nbsp;</TD>
		</TR>

		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_smtp_auth}</TD>
			<TD CLASS="formhead">&nbsp;<br><input type="Checkbox" name="wm2_smtpauth" value="checked" {$wm2_smtpauth}><br>&nbsp;</TD>
		</TR>

		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_username}</TD>
			<TD CLASS="formhead"><input type="text" name="wm2_smtpusername" size="20" maxlength="100" value="{$wm2_smtpusername}"></TD>
		</TR>

		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_password}</TD>
			<TD CLASS="formhead"><input type="password" name="wm2_smtppassword" size="20" maxlength="100" value="{$wm2_smtppassword}"></TD>
		</TR>

		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" HEIGHT="40"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="60" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD>
			<TD CLASS="formhead">{$hashmap.webmail2_settings_smtp_auth_use_pop3}</TD>
			<TD CLASS="formhead">&nbsp;<br><input type="Checkbox" name="wm2_smtpusepopuser" value="checked" {$wm2_smtpusepopuser}><br>&nbsp;</TD>
		</TR>

		<TR><TD CLASS="lines2" HEIGHT="1" WIDTH="1" COLSPAN="3"></TD></TR>
			<TR ALIGN="left">
			<TD CLASS="tab" colspan="3"></TD>
		</TR>


		<TR><TD CLASS="lines2" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="5" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
		<TR>
			<TD align="center" CLASS="formhead" colspan="3"><input type="submit" name="{$suname}" value="{$hashmap.webmail2_settings_save}" class="{$suclass}"></TD>
		</TR>

		<TR><TD CLASS="lines" HEIGHT="1" WIDTH="1" COLSPAN="3"><IMG SRC="{$imgpathmaster}/space.gif" ALT="" WIDTH="1" HEIGHT="1" HSPACE="0" VSPACE="0" BORDER="0"></TD></TR>
	</form>
    </TABLE>
	
</td></tr></table>
</td></tr></table>
