[求助]关于asp.net发送邮件
我这样发送邮件为什么发不了啊??
<%@ import namespace=system.web.mail %>
<script language=vb runat=server>
sub page_load(s as object,e as eventargs)
dim objmail as new mailmessage
objmail.from="soul_float@126.com"
objmail.to="soul_float@163.com"
objmail.subject="发送邮件示例"
objmail.body="这是一个发送邮件的示例,不知道成不成功"
objmail.bodyformat=mailformat.text
objmail.priority=mailpriority.high
smtpmail.smtpserver=""
smtpmail.send(objmail)
message.text="邮件发送成功"
end sub
</script>
<html>
<body>
<center>
<form runat=server>
<asp:label id=message runat=server/>
</form>
</body>
</html>
邮箱里跟本收不到邮件啊
????????????