最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Jmail的属性和方法
时间:2022-06-30 11:49:28 编辑:袖梨 来源:一聚教程网
属性:
Body : String
(v3.0)
E-Mail的主体
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)
这个邮件的头设置, 默认为 "text/plain" 能设
置成你需要的任何情况。
你想发送HTML信息,改这个头文件为 "text/html"
JMail.ContentType = "text/html"
DeferredDelivery : Date
(v3.0)
设置时间。
如果MAILSERVER服务器支持,可以设置何时发送邮件。
JMail.DeferredDelivery = new Date( 2000, 02, 17 ).getVarDate();
Encoding : String
(v3.0)
This can be used to change the default Attachment encoding from base64. Valid options are
"base64", "uuencode" or "quoted-printable"
JMail.Encoding = "base64"
ErrorCode : Integer
(v3.0)
报错误信息,如果JMail.silent被设置成true
Response.Write( JMail.ErrorCode )
ErrorMessage : String
(v3.0)
报错误信息,如果JMail.silent被设置成true
Response.Write( JMail.ErrorMessage )
ErrorSource : String
(v3.0)
报错误信息,如果JMail.silent被设置成true
Response.Write( JMail.ErrorSource )
ISOEncodeHeaders : Boolean
(v3.0)
头信息代码按照iso-8859-1字符设置。
The default is true.
JMail.ISOEncodeHeaders = false
Lazysend : Boolean
(v3.0)
这个属性是将邮件放入缓冲直至发出为止,的不到任何的错误信息
JMail.LazySend = true;
Log : String
(v3.0)
当loging被设置后,这个LOG被JMAIL生成
Response.Write( JMail.Log )
Logging : Boolean
(v3.0)
能/不能登陆用JMAIL
JMail.Logging = true
MailDomain : String
(v3.0)
可以忽略 EHLO/HELO 状态对你的mailserver
JMail.Maildomain = "hello.world.com"
MimeVersion : String
(v3.0)
专门的 mime 版本. The default is "1.0"
Body : String
(v3.0)
E-Mail的主体
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)
这个邮件的头设置, 默认为 "text/plain" 能设
置成你需要的任何情况。
你想发送HTML信息,改这个头文件为 "text/html"
JMail.ContentType = "text/html"
DeferredDelivery : Date
(v3.0)
设置时间。
如果MAILSERVER服务器支持,可以设置何时发送邮件。
JMail.DeferredDelivery = new Date( 2000, 02, 17 ).getVarDate();
Encoding : String
(v3.0)
This can be used to change the default Attachment encoding from base64. Valid options are
"base64", "uuencode" or "quoted-printable"
JMail.Encoding = "base64"
ErrorCode : Integer
(v3.0)
报错误信息,如果JMail.silent被设置成true
Response.Write( JMail.ErrorCode )
ErrorMessage : String
(v3.0)
报错误信息,如果JMail.silent被设置成true
Response.Write( JMail.ErrorMessage )
ErrorSource : String
(v3.0)
报错误信息,如果JMail.silent被设置成true
Response.Write( JMail.ErrorSource )
ISOEncodeHeaders : Boolean
(v3.0)
头信息代码按照iso-8859-1字符设置。
The default is true.
JMail.ISOEncodeHeaders = false
Lazysend : Boolean
(v3.0)
这个属性是将邮件放入缓冲直至发出为止,的不到任何的错误信息
JMail.LazySend = true;
Log : String
(v3.0)
当loging被设置后,这个LOG被JMAIL生成
Response.Write( JMail.Log )
Logging : Boolean
(v3.0)
能/不能登陆用JMAIL
JMail.Logging = true
MailDomain : String
(v3.0)
可以忽略 EHLO/HELO 状态对你的mailserver
JMail.Maildomain = "hello.world.com"
MimeVersion : String
(v3.0)
专门的 mime 版本. The default is "1.0"
相关文章
- Metaplanet最新购入1,112枚比特币后总持仓突破1万枚大关 06-16
- 《艾塔纪元》奥莉维亚凯撒怎么样 06-16
- 安全可靠2025全球交易所虚拟币交易前十-最方便数字资产交易所币安推荐 06-16
- 《超能力冲刺》水风阵容怎么配队 06-16
- 《晶核》平民职业选择推荐细节解读 06-16
- 2025盘点正规币圈十大比特币交易平台TOP10-去中心化加密货币交易所币安app推荐 06-16