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

ASP
asp使用activex组件实例一
ASP中检查没有数据提交的页面Ⅰ
ASP中检查没有数据提交的页面Ⅱ
为ASP开发者介绍ColdFusion
W3 Jmail 简要介绍
W3 Jmail 参考说明
W3 Jmail 使用范例
ASP教程:堵住ASP漏洞
利 用 ASP 开 发 网 络 聊 天 室
MySQL数据库基础教程
ASP和SQLServer时间处理方法Ⅰ
如何利用ASP实现邮箱访问
SQL语言快速入门之一
SQL语言快速入门之二
SQL语言快速入门之三(一)
用纯ASP代码实现图片上传并存入数据库中
ASP进阶教程Ⅹ:留言簿自动发E-Mail
单元测试和事先测试开发(2)
.NET的事务控制.
.NET 的数据访问应用程序块(Data Access Application Block)

ASP 中的 W3 Jmail 参考说明


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 35 ::
收藏到网摘: 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