• ----:)欢迎访问源码网(:----
    • 首页
    • 博客
    • 学院
    • 下载
    • 论坛
    • 影视
    • 发布源码
    • RSS
    • ITPig
    • 笑话网
    • 百家姓
    • 繁體中文

源码网 - 中国第一源码门户
选择镜像:网通镜像 - 电信主站
  • 首 页
  • 新闻动态
  • 网站运营
  • 网页制作
  • WEB开发
  • 编程开发
  • 图像媒体
  • 操作系统
  • 数据库
  • 服务器
热门搜索 优化 SEO 故事 cms IIS7 MySQL 个人 AdSense 主题推广 | 文章搜索: 高级搜索
会员登录/控制面版您的位置: 学院首页 >> WEB开发 >> ASP开发 >> 全文检索 >> 详细内容
 

推荐文章

 
 

热点文章

  • Microsoft SQL Server 全文索引服务
  • Counters 组件参考
  • ASP定时组件
  • 用asp怎样编写文档搜索页面
  • 设置服务器日期时间组件
  • 使用组件搜索
  • Dns组件的一些用法
  • ASP Image 使用范例
  • 用ASP建立站内搜索
  • ASP Chart 使用范例
  • Ad Rotator组件使用例子
  • FileSystemobject组件
 
 

相关文章

  • 用ASP生成Chart
  • 使用ASP建立Http组件
  • FileSystemobject组件
  • Dns组件的一些用法
  • chart组件在ASP中的应用
  • Zaks Pop3 参考说明
  • Zaks Pop3 简要介绍
  • ASP Image 使用范例
  • Asp Image 简要介绍
  • ASP HTTP 使用范例
  • Asp HTTP 简要介绍
  • ASP Ping 简要介绍
 
 

百度搜索

 
 

W3 Jmail 使用范例

  • 阅览次数:
  • 文章来源: 网海之贝
  • 原文作者: 佚名
  • 整理日期: 2006-10-03
  • 发表评论
  • 字体大小:
  • 小
  • 中
  • 大

<html>
    <head>
    <title>Confirmation </title>
    <body>
    <%

    Set JMail = Server.CreateObject("JMail.SMTPMail")

    ' This is my local SMTP server
    JMail.ServerAddress = "mail.yourdomain.com:25"

    ' This is me....
    JMail.Sender = "myemail@mydomain.net"
    JMail.Subject = "Here you go..."

    ' Get the recipients mailbox from a form (note the lack of a equal sign).
    JMail.AddRecipient "mum@any.com"
    JMail.AddRecipient "dad@some.com"

    ' The body property is both read and write.
    ' If you want to append text to the body you can
    ' use JMail.Body = JMail.Body & "Hello world!"
    ' or you can use JMail.AppendText "Hello World!"
    ' which in many cases is easier to use.
    JMail.Body = "Here you go. Your request has been approved" &_
    "and the program is attached to this message"


    ' 1 - highest priority (Urgent)
    ' 3 - normal
    ' 5 - lowest

    JMail.Priority = 1

    JMail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR")

    ' Must make sure that IUSR_???? has access to the following files.
    JMail.AppendBodyFromFile "e:mailstandard_footer.txt"
    JMail.AddAttachment "e:productsMyProduct.exe"

    ' Send it...
    JMail.Execute

    %>
    <center>

    An e-mail has been sent to your mailbox (<%=request.form("email")%>).

    </center>
    </body>
    </html>

上一篇:MySQL数据库的导入导出 和 Liunx的权限
下一篇:构建支持Master/Slave读写分离的数据库操作类
  • 网友评论:
  • 查看所有评论
  • 我要发表评论
您的网名:
留言主题:
你要发表的内容:

 

关于本站 | 广告联系 | 版权声明 | 网站地图 | 发布软件 | 帮助中心 | 源码论坛

Copyright © 2005-2007 CodePub.Com  程序支持:木翼  滇ICP备05005971号