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

ASP
简单ASP论坛DIY
如何防止页面中的敏感信息被提取
asp创建对象及中文显示解决技巧
基础开发入门级:JSP与ASP的比较
数据库受到限制怎么办?
ASP初学者常犯的几个错误
Asp定时执行操作、Asp定时读取数据库(网页定时操作详解)
ASP优化:非常实用的ASP提速技巧五则
ASP教程:解决ASP脚本运行超时的方法
ASP安全:简单学习ASP连接数据库方法
简单一招用ASP实现对IE地址栏参数的判断
asp控制xml数据库的6段非常的经典代码
ASP进阶:验证身份证号是否正确的代码
ASP教程:使用ASP生成图片彩色校验码
ASP进阶:用ASP判断文件地址是否有效
ASP进阶:用asp做的简单搜索引擎代码
ASP实例 挂QQ的网页源代码ASP/PHP
ASP答疑 解决ASP脚本运行超时的方法
轻轻松松破解开别人ASP木马密码的方法
用ASP操作Access数据库 ADOX的使用

ASP 中的 W3 Jmail 参考说明


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