试题四(共15分)
阅读以下说明,回答问题1至问题4,将解答填入答题纸对应的解答栏内。
某邮件系统中的邮件发送界面如图4-1。
【问题2】(每空1分)
以下是该邮件系统部分asp代码,已知登入该邮件系统的邮箱账号是test@ruankaodaren.com,请将(8)〜(15) 的空缺代码补充完整。
<html>
<head>
<title>
发送电子邮件
</title>
</head>
<body>
<%
towho=trim(request.( )("towho")
subject=trim(request.form("( )")
content=trim(request.form("content")
if towho<>"" then
set myMail=( ).createObject("CDONTS.Newmail")
myMail.from="( )"
myMail.to=( )
myMail.subject=subject
myMail.body=( )
myMail.send
set myMail=nothing
( ).Write "你的邮件已经发往" & towho
else
Response.Write "你请输入你所要发往的邮箱地址"
( )
</body>
</html>
( )~( )备选答案:
A.content B.serverC.ResponseD.test@ruankaodaren.com
E.end if F.form G.subjectH.towho