<jsp:directive.page pageEncoding="UTF-8" />

<table>
	<tr>
		<og:input name="from" size="50" lbl="From" colspan="5"
					value="{@USER.JNAME}&lt;{@USER.ID}&#064;{@SYS.COMMON_MAIL_SERVER}&gt;" />
	</tr>
	<tr><og:input name="bcc"     lbl="Bcc"     value="{@bcc}"      size="80" colspan="5" /></tr>
	<tr><og:input name="replyTo" lbl="ReplyTo" value="{@replyTo}"  size="80" colspan="5" /></tr>

	<tr><og:input  name="host"    value="{@SYS.COMMON_MAIL_SERVER}"   lbl="Host" /></tr>
	<tr>
		<og:select name="charset" value="{@SYS.MAIL_DEFAULT_CHARSET}" lbl="Charset">
			<og:option value=""            lbl=""            />
			<og:option value="Windows-31J" lbl="Windows-31J" />
			<og:option value="ISO-2022-JP" lbl="ISO-2022-JP" />
		</og:select>
	</tr>
	<tr>
		<og:input  name="smtpPort"    value=""   lbl="smtpPort" />
		<og:select name="useHistory" value="false" lbl="useHistory">
			<og:option value="true"  lbl="True"  />
			<og:option value="false" lbl="False" />
		</og:select>
	</tr>
	<tr>
		<og:input  name="authType"    value=""   lbl="authType" />
		<og:input  name="authPort"    value=""   lbl="authPort" />
	</tr>
	<tr>
		<og:input  name="authUser"    value=""   lbl="authUser" />
		<og:input  name="authPass"    value=""   lbl="authPass" />
		<og:select name="useTLS" value="false" lbl="useTLS">
			<og:option value="" lbl="" />
			<og:option value="true"  lbl="True"  />
			<og:option value="false" lbl="False" />
		</og:select>
	</tr>
</table>

<table>
	<tr><og:textarea name="signature" id="signature" rows="10" cols="60" /></tr>
	<tr><td id="label">Cookie On</td><td><input type="checkbox" onClick="setMailCookie();" /></td></tr>
</table>

<script>
	var txarea = document.getElementById("signature");
	txarea.value = getMailCookie();
</script>
