当前位置: 首页 > 图文教程 > 网络编程 > ASP > W3 Jmail 参考说明

ASP
Asp+Sql 对数据库的各种操作
ASP:6行代码实现无组件上传
ASP中几种分页显示的比较
ASP中数据库调用中常见错误的现象和解决
ASP实用技巧:强制刷新和判断文件地址
asp全站防止注入的代码
ASP如何获取客户端真实IP地址
ASP实现可显示和隐藏的树型菜单
如何用ASP获取真实IP地址
ASP与SQL数据库连接代码
拒绝攻击 万能Asp防注入代码
草根站长成长计划:跟我学新云采集入门(2)
ASP技巧:提高使用Request集合的效率
Asp用存储过程实现数据分页
做网页时常用的ASP函数
Asp编码优化技巧八则
ASP中Cache技术的应用
用ASP封IP的方法,防止固定IP垃圾留言
ASP实现一行多列显示方法实例程序
ASP实现动态添加表单内容的实例程序

ASP 中的 W3 Jmail 参考说明


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 24 ::
收藏到网摘: n/a

      
   jmail.smtpmail
  
   Body : String
   (v3.0)
   信件体,正文,使用AppendText追加内容
   如:JMail.Body = "Hello world"
   Charset : String
   (v3.0)
   字符集,缺省为"US-ASCII"
   如:JMail.Charset = "US-ASCII"
  
   ContentTransferEncoding : String
   (v3.0)
   指定内容传送时的编码方式,缺省是"Quoted-Printable"
   如:JMail.ContentTransferEncoding = "base64"
  
   ContentType : String
   (v3.0)
   信件的contentype. 缺省是"text/plain",但是可以设置为其他你想要的类型.
   如果你以HTML格式发送邮件, 改为"text/html"即可。
   如:JMail.ContentType = "text/html"
   DeferredDelivery : Date
   (v3.0)
   设置延期发送. 如果邮件服务器支持的话,消息到了这个时间才会发送
   如:(Javascript)JMail.DeferredDelivery = new Date( 2000, 02, 17 ).getVarDate();
   Encoding : String
   (v3.0)
   这个属性可以用来改变附件编码方式(缺省是"base64). 可以选择使用的是"base64", "uuencode" or "quoted-printable"
   如:JMail.Encoding = "base64"
   ErrorCode : Integer
   (v3.0)
   如果JMail.silent设置为true,ErrorCode包含的是错误代码
   如:Response.Write( JMail.ErrorCode );
   ErrorMessage : String
   (v3.0)
   如果JMail.silent设置为true,包含的是错误信息
   如:Response.Write( JMail.ErrorMessage );
   ErrorSource : String
   (v3.0)
   Contains the error source if JMail.silent is set to true
   如:Response.Write( JMail.ErrorSource );
   ISOEncodeHeaders : Boolean
   (v3.0)
   是否将信头编码成iso-8859-1字符集. 缺省是true
   如:JMail.ISOEncodeHeaders = false
   Lazysend : Boolean
   (v3.0)
  
   这个属性指定Jmail是否一直等到mail发送了然后返回,或者缓冲这条消息然后在后台发送。
   然而设置了这个属性,你就不能控制错误信息。
   注意:如果选择了这个选项,属性ServerAddress将无效,lazysend将通过dsn查询决定邮件服务器,
   在一些设置里面,这可能有问题。
   如:JMail.LazySend = true;
   Log : String
   (v3.0)
   Jmail创建的日志,如果loging属性设置为true
   如:Response.Write( JMail.Log );
   Logging : Boolean
   (v3.0)
   是否使用日志
   如:JMail.Logging = true
   MailDomain : String
   (v3.0)
   This can be used to override the EHLO/HELO statement to your mailserver
   如:JMail.Maildomain = "hello.world.com"
   MimeVersion : String
   (v3.0)
   指定mime版本。缺省是"1.0"
   如:JMail.MimeVersion = "1.0"
   Priority : Integer
   (v3.0)
   优先级. 范围在1-5之间
   1 高优先级. 有些邮件程序称之为紧急
   2 也是高优先级
   3 普通优先级
   4 低优先级
   5 最低的优先级
   如:JMail.Priority = 3
   Recipients : String
   (v3.0)
   只读属性,返回所有收件人
   如:Re