<?php include_once( "../../../../spider.inc.php" ); ?>
{charset:UTF-8}
{template:admin_innerblock.tpl}
{module:member.mail.SendTest}
{preset:page_title MEMBER_PERSONAL_LABEL . '管理 > メール送信 > 送信テスト'}

	<h1>{write:MEMBER_PERSONAL_LABEL}情報一覧 &gt; メール送信 &gt; テスト送信</h1>
	
{if:IS_ERROR}

	<ul class="error">
	{foreach:errors error}
		<li>{write:error}</li>
	{/foreach}
	</ul>
{else}
	<form name="testmailform" action="/<?php echo SYSTEM_DIR_NAME_ADMIN_PANEL; ?>/member/mail/sendtest/execute.php?stype={write:member.mail.mail_object->'select_type'}{if:member.mail.mail_object->'select_type'=='m'}{if:count(member.mail.mail_object->'member_id_object_hash')>0}{foreach:member.mail.mail_object::member_id_object_hash key member_object}&amp;mi[]={write:key}{/foreach}{/if}{/if}" method="post">
	<p style="text-align:center;">
		テスト送信先メールアドレス ※改行して複数入力できます<br />
		<textarea name="targetAddresses" cols="40" rows="5"></textarea><br />
		<input type="button" value="送信テストパネルを閉じる"
			onclick="membarMailSendTestClosePanel();"
		/><input type="button" value="テストメール送信" onclick="membarMailSendTestExecute(document.testmailform)" />
	</p>
	</form>
{/if}
	<br />
	<br />
	