Solution for sending mail using W3 JMail (3) (end)

Source: Internet
Author: User
(connected to the article)
8, Attachment Object
Property (or method)
Describe

New (filename,contenttype,data):P Ointer
Create an attachment that can be added to the Attachments collection. If you specify the value of data, JMail creates a custom attachment with the data parameter as the content.

SaveToFile (FileName)
Save the attachment to the hard disk.

ContentType (): String
Return attachment type (ContentType)

Data (): String
Returns the contents of the attachment.

BinaryData (): String
Returns the contents of the attachment in binary mode.

IsInline (): Boolean
Returns true if the attachment is set to be embeddable (inline).

Name (): String
Returns the file name of the attachment.

Size (): Integer
Returns the size of the attachment.


9, MailMerge Object
Property (or method)
Describe

Bulkmerge (recordset,enque,maildestination)
Refer to the Mail template to merge all records to specify the Pickuo folder or mail server to use.

Expand ():P Ointer
Merges message templates (mailtemplate) in a way that is specified by the user.

Expandfromrecordset (RecordSet):P Ointer
Refer to a message template (mailtemplate) to merge One example from an ADO object.

Setdebugmode (Testmailaddress,testcount)
Set the mail merge (mailmerge) to test mode.

Item (variablenmae): String
Set the merge parameters manually. Note: This feature is not used for merging ADO data samples.

Mailtemplate ():P Ointer
Sets a created message object that will be used as a template for mail merge.

Mergeattachments (): Boolean
When this property is set to True, the attachment is used as an option for mail merge.


10, PGPkeys Object
Property (or method)
Describe

Count (): Integer
Returns the total number of passwords.

Item (Index):P Ointer
Returns the Pgpkey information object.


11, Pgpkeyinfo Object
Property (or method)
Describe

Keycreatedate (): String
Returns the time the message password was created.

keyID (): String
Returns the ID number of the password.

Keyuser (): String
Returns the name of the user who created the password.


12, Speedmailer Object
Property (or method)
Describe

Enquemail (Fromemail,recipientemails,
Subject,body,mspickupdirectory)

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.