Location: PHPKode > projects > OpenBizMap > obm2007.1/mydata/script/script_mail.html
<form action="index.php" method="post" enctype="multipart/form-data">
  <input name="odb_run" type="hidden" value="mail" />
  <input name="odb_popup" type="hidden" value="1" />
  <input name="odb_memo" type="hidden" value="<?php echo get('memo'); ?>" />

  <table style="width:100%;">
    <tr>
      <td colspan="2"><h2><?php myecho('Send email'); ?></h2></td>
    </tr>
		<tr>
      <td style="text-align:right; width:5em;"><div class="fld_"><?php myecho('To'); ?></div></td>
			<td><input type="text" class="fld_" style="width:90%;" name="odb_to" value="<?php echo get('to'); ?>" /></td>
		</tr>
    <tr>
			<td style="text-align:right;"><div class="fld_"><?php myecho('CC'); ?></div></td>
			<td><input type="text" class="fld_" style="width:90%;" name="odb_cc" value="<?php echo get('cc'); ?>" /></td>
		</tr>
    <tr>
			<td style="text-align:right;"><div class="fld_"><?php myecho('BCC'); ?></div></td>
			<td><input type="text" class="fld_" style="width:90%;" name="odb_bcc" value="<?php echo get('bcc'); ?>" /></td>
		</tr>
    <tr>
			<td style="text-align:right;"><div class="fld_"><?php myecho('Subject'); ?></div></td>
			<td><input type="text" class="fld_" style="width:90%;" name="odb_subject" value="<?php echo get('subject'); ?>" /></td>
		</tr>
    <tr>
			<td style="text-align:right;"><div class="fld_"><?php myecho('Attach file'); ?></div></td>
			<td><input type="file" name="odb_attach1" value="" /><br />
          <input type="file" name="odb_attach2" value="" /><br />
          <input type="file" name="odb_attach3" value="" />
      </td>
		</tr>
</table>
				<div class="fld_"><input class="button" type="submit" value="<?php myecho('Send'); ?>" /></div>
			<textarea class="fld_" style="width:98%;" type="text" rows="15" name="odb_body"><?php echo str_replace(' CRLF ',"\r\n",get('body')); ?></textarea>
				<div class="fld_"><input class="button" type="submit" value="<?php myecho('Send'); ?>" /></div>

  </form>
Return current item: OpenBizMap