묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
소스 확인 부탁드립니다
2006.09.27 11:47
아래 소스를 보시구 1번에서 2번으로 넘어가질않아요 좀 도와주세여
아래 소스는 여기에서 얻은 소스 자료입니다
부탁드립니다.
===============asp_6-1_1.asp=============
<% Option Explicit %>
<title>asp_6-1_1.asp</title>
<style>
body, td, input {font-size:9pt; font-family:굴림; letter-spacing:-1}
</style>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>보내느사람</td><td><input type=text name=sender stye="border:1 solid black; width:100%" maxlength=40></td></tr>
<tr><td>받는사람</td><td><input type=text name=reciver stye="border:1 solid black; width:100%" maxlength=40></td></tr>
<tr><td>제목</td><td><input type=text name=subject stye="border:1 solid black; width:100%" maxlength=40></td></tr>
<tr><td>내용</td><td><textarea name=content style="border1 solid black; width:100%" rows=10></textarea></td></tr>
<tr><td><INPUT type=submit value="메일전송" style="border:1 solid black; height:25" cnfocus="blur()">
</td></tr></table>
</body>
===============asp_6-1_2.asp=============
<% Option Explicit %>
<html>
<heed>
<title>asp_6-1_2.asp</title>
</head>
<body>
<%
dim objmail
setobjmail = server.createobject("cdomts.newmail")
objmail.from=request.form("sender")
objmail.to=request.form("reciver")
objmail.subject.form("subect")
objmail.body=request.form("content")
objmail.send
set objmail = nothing
%>
전송완료하였습니다.
</body>
</html>
* DearMai님에 의해서 게시물 이동되었습니다 (2006-09-28 16:44)
아래 소스는 여기에서 얻은 소스 자료입니다
부탁드립니다.
===============asp_6-1_1.asp=============
<% Option Explicit %>
<title>asp_6-1_1.asp</title>
<style>
body, td, input {font-size:9pt; font-family:굴림; letter-spacing:-1}
</style>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>보내느사람</td><td><input type=text name=sender stye="border:1 solid black; width:100%" maxlength=40></td></tr>
<tr><td>받는사람</td><td><input type=text name=reciver stye="border:1 solid black; width:100%" maxlength=40></td></tr>
<tr><td>제목</td><td><input type=text name=subject stye="border:1 solid black; width:100%" maxlength=40></td></tr>
<tr><td>내용</td><td><textarea name=content style="border1 solid black; width:100%" rows=10></textarea></td></tr>
<tr><td><INPUT type=submit value="메일전송" style="border:1 solid black; height:25" cnfocus="blur()">
</td></tr></table>
</body>
===============asp_6-1_2.asp=============
<% Option Explicit %>
<html>
<heed>
<title>asp_6-1_2.asp</title>
</head>
<body>
<%
dim objmail
setobjmail = server.createobject("cdomts.newmail")
objmail.from=request.form("sender")
objmail.to=request.form("reciver")
objmail.subject.form("subect")
objmail.body=request.form("content")
objmail.send
set objmail = nothing
%>
전송완료하였습니다.
</body>
</html>
* DearMai님에 의해서 게시물 이동되었습니다 (2006-09-28 16:44)
댓글 2
-
유령
2006.09.27 11:47
긴급 답변 부탁드립니다-.-.. -
beMax
2006.09.29 17:54
<% Option Explicit %>
<title>asp_6-1_1.asp</title>
<style>
body, td, input {font-size:9pt; font-family:굴림; letter-spacing:-1}
</style>
<body>
<form action="asp_6-1_2.asp" style="margin:0px">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>보내느사람</td><td><input type=text name=sender stye="border:1 solid black; width:100%" maxlength=40></td></tr>
<tr><td>받는사람</td><td><input type=text name=reciver stye="border:1 solid black; width:100%" maxlength=40></td></tr>
<tr><td>제목</td><td><input type=text name=subject stye="border:1 solid black; width:100%" maxlength=40></td></tr>
<tr><td>내용</td><td><textarea name=content style="border1 solid black; width:100%" rows=10></textarea></td></tr>
<tr><td><INPUT type=submit value="메일전송" style="border:1 solid black; height:25" cnfocus="blur()">
</td></tr></table>
</form>
</body>
<form>태그가 없어서 submit 이 작동안하는 겁니다.