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

ASP
对ASP和ASP程序员的一些话
10行代码让你告别Arp作恶导致的掉线
ASP开发10条经验总结
国内ASP应用,不容乐观
ASP利用Google实现在线翻译功能
如何提高自己的编程水平
经典实用的基础asp程序整理
ASP实现带进度条的测试网速的代码程序
ASP程序实现网页伪静态页源代码
净化网络环境 ASP程序实现过滤脏话
ASP技术与PHP,CGI,JSP等技术的比较
用ASP制作饼图、柱状图等
常用ASP脚本程序集锦
用ASP编写的俄罗斯方块游戏
几种优秀的开发ASP的工具
浅谈ASP编程的思路与纠错
一个测试数据库连接的函数
ASP读写注册表
怎样用ASP程序判断一个盘上是否有文件
一个免费的简单聊天室源代码

ASP 中的 W3 Jmail 参考说明


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