Use W3 Jmail to implement mail sending solutions (2)

zhaozj2021-02-16  49

Use W3 Jmail to implement mail sending solutions

Hainan Provincial Commercial Information Service Center Wen Wen

(Connected)

Bodytext (): String

Returns all text text. Response.write (Message.Bodytext)

Charset (): String

Set the character set used by email. The default is US-ASCII, supporting Chinese, set to GB2312.

ContentTransferencoding (): String

Set the email code. The default is: quoted-printable.

ContentType (): String

Returns the body type.

Date (): DATE

Returns the mail delivery time.

DeferRedDelivery (): Date

Set mail timing sent.

ENCoding (): String

Set the default encoding of attachments: base64 or quoted-printable

Encryptattachments (): Boolean

When set to TRUE, all attachments are encrypted, of course, the compiler is available. Its default is TRUE.

Errorcode (): Integer

This function contains an error number if Message.Silent is set to TRUE.

ErroeMessage (): String

This function contains an error description if Message.silent is set to TRUE.

Erroesource (): String

This function contains an incorrect source if message.silent is set to TRUE.

From (): String

Return or set the sender's Email address.

FromName (): String

Return or set the name of the sender.

HTMLBODY (): String

Returns or sets the HTML section of the message body.

Isoencodeheaders (): Boolean

Does the mail head use ISO-8859-1 encoding. (Default is true)

Log (): String

When logging is True, the function returns the created log.

Logging (): boolean

Whether the log is enabled. Enable the log when message.logging = true.

Maildata (): String

Returns the source code for the message.

MaildOMain (): String

Set the mail server used when sending an email.

MailServerPassword (): String

This function sets the login password when the mail server uses SMTP letter authentication.

MailServerUsername (): String

This function sets the login account when the mail server uses SMTP letter authentication.

Mimeversion (): String

Declare the MIME version, default is 1.0.

Mspickupdirectory (): String

Specifies the location of the Pickup folder of the MS SMTP service.

Pgpencrypt (): boolean

When the message is sent using the PGP and this property is set to True, the message will be automatically encrypted.

Pgpsign (): Boolean

When the message is sent using the PGP and this property is set to TRUE, the message will be automatically signed.

Priority (): byte

Set the priority of the message: 1, 2 and 3

Recipients (): Pointer

Returns the collection of receipts.

Recipientstring (): String

Returns the collector collection (read only).

Replyto (): String

Specify a reply address.

Silent (): boolean

When set to True, the send () method ignores an error without returning the error message to the operating system.

SIMPLELAYOUT (): Boolean

When set to true, Jmail does not add the message head to the message when it is sent.

Size (): integer

Returns the total number of bytes of the message.

Subject (): String

Set the email header.

TEXT (): STRING

Returns the full mail content.

Version (): String

Returns the version information of JMAL.

4, Headers object

Attributes (or methods)

description

GetHeader: String

Returns the value of the specified message header.

TEXT (): STRING

Returns the value of all the email headers.

5, Recipients object

Attributes (or methods)

description

Add (Value)

Add a recipient to the collection.

Clear ()

Clear all records in the collection.

Count (): Integer

Returns the total number of recipients in the collection.

Item (INDEX): Pointer

Returns a specified recipient in the collection.

6, Recipient object

Attributes (or methods)

description

NEW (Name, Email, RecipientType): Pointer

Create a recipient that can add to Recipients in the recipient collection.

Email (): String

Return to the recipient's email.

Name (): String

Returns the name of the recipient.

Retype (): Integer

Returns the recurrent mode (the recipient to = 0, Cc cc = 1, dark delivery BCC = 2).

7, attachments object

Attributes (or methods)

description

Add (attachment)

Add an attachment to a collection.

Clear ()

Clear all accessories in the collection.

Count (): Integer

Returns the total number of attachments in the collection.

Item (INDEX): Pointer

Returns the attachment specified in the collection.

(Endlessly)

转载请注明原文地址:https://www.9cbs.com/read-23243.html

New Post(0)