如何用asp发送带附件的邮件?<% option explicit dim objmailset objmail = server.createobject("cdonts.newmail")o
如何用asp发送带附件的邮件?
<%
option explicit
dim objmail
set objmail = server.createobject("cdonts.newmail")
objmail.from = "liyanbing@163.net "
objmail.subject = "闪亮日子之星河影动"
objmail.attachfile("s:\flashdays\images\win.jpg")
objmail.to = "wuxiaotao@263.net"
objmail.body = "我们一定要解放台湾!"
objmail.send
response.write("mail was sent")
set objmail = nothing
%>
[1]
相关文章:
-
-
-
如何做一个文本搜索?
<%head = "搜索"searchstring = request("searchstring")count=0function unmappath(...
[阅读全文]
-
如何判断发言是否为空?
if len(usersays)<>0 then session("whoto")=request.form("whoto") session("a...
[阅读全文]
-
-
版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。
如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。
发表评论