나누미넷 도움말 센터

Home > CDO 메일 폼 예제 소스

CDO 메일 폼 예제 소스

<html>
< head>
< meta http-equiv="content-type" content="text/html; charset=euc-kr">
< title>Form Mail</title>
< /head>
< body bgcolor="white" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
< form name="Cmail" method="post" action="Cmail_send.asp" enctype="multipart/form-data">
< table cellpadding="0" cellspacing="0" width="100%" height="100%">
< tr>
< td width="788" align="center" valign="middle">
< table cellpadding="0" cellspacing="0" width="400" height="400">
< tr>
< td width="100" height="25" align="right">받는 사람</td>
< td width="300" height="25" align="right"><input type="text" name="mail_to" maxlength="50" size="45" ></td>
< /tr>
< tr>
< td width="100" height="25" align="right">보내는 사람</td>
< td width="300" height="25" align="right"><input type="text" name="mail_from" maxlength="50" size="45" ></td>
< /tr>
< tr>
< td width="100" height="25" align="right">메일 제목</td>
< td width="300" height="25" align="right"><input type="text" name="mail_subject" maxlength="50" size="45" ></td>
< /tr>
< tr>
< td width="400" colspan="2" height="225" align="right"><textarea name="mail_body" rows="15" cols="60" ></textarea></td>
< /tr>
< tr>
< td width="100" height="25" align="right">파일첨부</td>
< td width="300" height="25" align="right"><input type="file" name="mail_file1" maxlength="50" size="30" ></td>
< /tr>
< tr>
< td width="100" height="25" align="right">파일첨부</td>
< td width="300" height="25" align="right"><input type="file" name="mail_file2" maxlength="50" size="30" ></td>
< /tr>
< tr>
< td width="100" height="25" align="right">파일첨부</td>
< td width="300" height="25" align="right"><input type="file" name="mail_file3" maxlength="50" size="30" ></td>
< /tr>
< tr>
< td width="400" height="25" align="center" colspan="2">
< input type="submit" name="Submit" value="메일 보내기">
< input type="reset" name="Reset" value="다시 쓰기">
< /td>
< /tr>
< /table>
< /td>
< /tr>
< /table>
< /form>
< /body>
< /html>