Solutions for sending messages using W3 JMail (2)

Source: Internet
Author: User
Tags character set
(connected to the article)
BodyText (): String
Returns the entire text body. Response.Write (Message.bodytext)

Charset (): String
Sets the character set used by the message. The default is US-ASCII, and support Chinese is set to GB2312.

Contenttransferencoding (): String
Sets the message encoding. The default is: Quoted-printable.

ContentType (): string
Returns the body type.

Date ():D ate
Returns the time the message was sent.

Deferreddelivery ():D ate
Set the message to be sent regularly.

Encoding (): String
Set the default encoding for attachments: Base64 or quoted-printable

Encryptattachments (): Boolean
When set to True, all attachments are encrypted, of course, in cases where the compiler is available. The default value is true.

ErrorCode (): Integer
If Message.silent is set to True, the function contains the error number.

Erroemessage (): String
If Message.silent is set to True, the function contains an error description.

Erroesource (): String
If Message.silent is set to True, the function contains the source of the error.

From (): String
Returns or sets the email address of the sender.

FromName (): String
Returns or sets the name of the sender.

HtmlBody (): String
Returns or sets the HTML portion of the message body.

Isoencodeheaders (): Boolean
Whether the message header uses ISO-8859-1 encoding. (Default is True)

Log (): String
When logging is true, the function returns the created log.

Logging (): Boolean
Whether to enable logging. When message.logging=true, enable logging.

Maildata (): String
Returns the source code for the message.

MailDomain (): String
Set up a mail server to use when sending messages.

Mailserverpassword (): String
This function sets the login password when the mail server authenticates with SMTP.

Mailserverusername (): String
This function sets the login account when the mail server authenticates with SMTP.

Mimeversion (): String
Declares a MIME version, and defaults to 1.0.

Mspickupdirectory (): String
Specifies the location of the pickup folder for the MS SMTP service.

Pgpencrypt (): Boolean
When a message is sent using PGP and the property is set to True, the message is automatically encrypted.

Pgpsign (): Boolean
When a message is sent using PGP and the property is set to True, the message is automatically signed.

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.