各位大大,现在有个很奇怪的问题,
就是我是提交一个表单后发送邮件到相关的人员,发现这个邮件中的链接出了点问题:
☆链结地址:
http://abc/files
\learningcenter.nsf/$defaultview/88D06E66CBBE4A65482578A30032DC07?opendocument
--------------------------
断开了,另外起了一行,只有上面的http://abc/files有链接,下面的没有!!
正常的应该是这样:
http://abc/files/learningcenter.nsf/$defaultview/88D06E66CBBE4A65482578A30032DC07?opendocument
出现这个问题的原因什么?我的里面是这样写的:
@@@@@@@@@@@@@@@@@@@@@@@@@@
Dbname:[email protected](@DbName;-1);
Notice:="◇"+subject+"◆"+"测试信息.";
Line:[email protected]("*";80)[email protected](0);
Address:="链接地址:"[email protected](0)+"http://"+server_name+"/"+Dbname+"/"+"$defaultview/"[email protected](maindocid)+"?opendocument";
Msg:=Msg1+Msg2+Msg3+Msg4+Msg5+Msg6+Msg7+Msg8+Line+Address;
@MailSend(Manager;"";"";Notice;Msg;"";"");
@Success
@@@@@@@@@@@@@@@@@@@@@@@@@@
一直在线!!
------解决方案--------------------
Dbname:[email protected](@Subset(@DbName;-1);"\\";"/");
这样写,把“\”换成“/”。