?? sendmail.asp
字號:
<html>
<head>
<title>
發送電子郵件
</title>
</head>
<body>
<%
towho=trim(request.form("towho")
subject=trim(request.form("subject")
content=trim(request.form("content")
if towho<>"" then
set myMail=server.createObject("CDONTS.Newmail")
myMail.from="fang@abc.com"
myMail.to=towho
myMail.subject=subject
myMail.body=content
myMail.send
set myMail=nothing
Response.Write "你的郵件已經發往" & towho
else
Response.Write "你請輸入你所要發往的郵箱地址"
end if
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -