W3 Jmail 参考说明

2016-01-29 19:23 3 1 收藏

W3 Jmail 参考说明,W3 Jmail 参考说明

【 tulaoshi.com - ASP 】

      
   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

来源:https://www.tulaoshi.com/n/20160129/1509276.html

延伸阅读
private void sendmail_jmail() {//使用jmail进行邮件发送;需要添加引用jmail.dll //jmail.SMTPMailClass mail = new jmail.SMTPMailClass(); jmail.MessageClass msg = new jmail.MessageClass(); msg.From = this.tb_from.Text.Trim(); msg.AddRecipient(this.tb_to.Text.Trim()," Gallon来信",""); msg.Body= this.tb_mailBody.Text...
标签: 游戏动漫
《抵抗3》武器说明及应用 这次武器有增加了几种,追加了等级设定,平衡性也经过了调整,最最关键的是主角可以一次性把所有武器都带在身上,所以正确使用武器,能事半功倍,逢凶化吉,现在扎古就为大家简单介绍一下。 1.bullseye 说明:这把枪是奇美拉军团的标准配置,也是3代的初始武器,虽然它的连射力不错,后...
标签: Web开发
什么是W3C? W3C ( World Wide Web Consortium ) 是一个致力于 W3 (World Wide Web) 标准化的组织,成立于1994年11月,目前(2007年5月)已经拥有441个会员,他们参与制作了以下与 W3 相关的标准: CSS CGI DOM HTML RDF SVG SOAP SMIL SRGS SSML VoiceXML WSDL XACML XHTML XML XML Events XForms ...
XQuery Reference XQuery and XPath 2.0 shares the same data model, functions, and syntax.XQuery Locations XQuery shares the same data model as XPath 2.0 XPath LocationsXQuery Operators XQuery shares the same operators as XPath 2.0 XPath OperatorsXQuery Functions XQuery shares the same functions as XPath 2.0 XPath Fu...
《极度恐慌3》操作键位设置说明 移动/视角、战斗、互动、Fettle、机甲和其他) 移动/视角 蹲伏 C 跳 SPACE(空格) 向下看   Down  Arrow 向上看   Up  Arrow 向左看  Left Arrow 向右看 Right  Arrow 向后移动 S 向前移动 W 向左移动 A 向右移动 D 冲刺 Left Shift 战斗 交火 Mouse ...

经验教程

969

收藏

28
微博分享 QQ分享 QQ空间 手机页面 收藏网站 回到头部