Properties and methods of JMail

Source: Internet
Author: User
Tags base64 character set
Property:
Body:string
(v3.0)
The main body of e-mail
Jmail.body = "Hello World"
Charset:string
(v3.0)
Set the character set for the message, default to "Us-ascii"
Jmail.charset = "Us-ascii"
Contenttransferencoding:string
(v3.0)
Specify content encoding, default to "Quoted-printable"
jmail.contenttransferencoding = "Base64"
Contenttype:string
(v3.0)
The header of this message is set, the default is "Text/plain" can be set
into whatever situation you need.
You want to send HTML information, change this header file to "text/html"
Jmail.contenttype = "Text/html"
Deferreddelivery:date
(v3.0)
Set the time.
If the MailServer server supports it, you can set when to send the message.
Jmail.deferreddelivery = new Date (in). getVarDate ();
Encoding:string
(v3.0)
This can is used to change the default attachment encoding from Base64. Valid options are
"Base64", "Uuencode" or "quoted-printable"
jmail.encoding = "Base64"
Errorcode:integer
(v3.0)
Report error message if Jmail.silent is set to True
Response.Write (Jmail.errorcode)
Errormessage:string
(v3.0)
Report error message if Jmail.silent is set to True
Response.Write (Jmail.errormessage)
Errorsource:string
(v3.0)
Report error message if Jmail.silent is set to True
Response.Write (Jmail.errorsource)
Isoencodeheaders:boolean
(v3.0)
The header information code is set according to the iso-8859-1 character.
The default is true.
Jmail.isoencodeheaders = False
Lazysend:boolean
(v3.0)
This property is to put the message in the buffer until it is sent, without any error message
Jmail.lazysend = true;
Log:string
(v3.0)
When Loging is set, this log is JMail generated
Response.Write (JMail.Log)
Logging:boolean
(v3.0)
can/cannot log in with JMail
Jmail.logging = True
Maildomain:string
(v3.0)
You can ignore the Ehlo/helo state on your mailserver.
Jmail.maildomain = "Hello.world.com"
Mimeversion:string
(v3.0)
A specialized MIME version. The default is "1.0"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.