关于asp连接lotus数据库发送邮件的问题
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>ASPLOTUS</title>
</head>
<body>
<%
Set noSession = CreateObject("Lotus.NotesSession")
call noSession.Initialize '此句始终通不过,不知为什么?提示不能打开此ID文件
set nodatabase=objsession.getdatabase("server","mail\hehdh.nsf ","false")
if nodatabase.isopen=false then nodatabase.openmail
set nodocument=nodatabase.createdocument
set noAttachment=noDocument.createrichtextitem("content")
set nobody=nodocument.createrichtextitem("body")
nobody.appendtext("this is a text mail")
call nodocument.repoaceitemvalue("Form","Memo")
call nodocument.replaceitemvalue("sendto","XXX/XXX/XXX/XXX/XXX")
call nodocument.replaceitemvalue("subject","测试邮件内容")
call nodocument.send(false)
onsession.terminate()
set noDocument=nothing
set nodatabase=nothing
set nosession=nothing
%>
</body>
</html>
注:我已注册nlsxbe.dll
哪位老师指导一下,谢谢!