Solutions for sending messages using W3 JMail (1)

Source: Internet
Author: User
W3 JMail Mail components are developed by the DIMAC company to complete the delivery, reception, encryption, and trunking transmission of messages. The W3 JMail component is one of the most popular messaging components in the world, and most of today's ASP programmers are using the W3 JMail component to build a mail delivery system because the W3 JMail component uses new kernel technology to make it more reliable and stable.
One, the next to the reader to introduce the new features of the W3 Jmail4.3 components:
1, W3 Jmail4.3 component redesign its internal structure--use the Message object instead of the original single object jmail.smtpmail send mail;
2, W3 Jmail4.3 component A total of more than 10 objects (later will be described in detail)--Most of these objects are for Jmail.message object operation;
3, support from the POP3 mail server to receive mail;
4, support the transmission of encrypted mail;
5, send quickly, a session on the completion of mail delivery;
6, there is also a feature that can use the W3 Jmail4.3 component cluster send function to send thousands of messages at a time, but also through the mail merge (MailMerge) object to personalize the message.
Ii. installation and uninstall of JMail Mail components:
1, installation
Like using a different component, you install or register the component Jmail.dll before using the JMail message component. The specific registration method is to first copy the Jmail.dll file to a directory on the hard disk (such as C:jmailjmail.dll), and then execute the command Regsvr32 C:jmailjmail.dll can.
2. Uninstall
The uninstall component is the opposite of the installation component, and you can use parameter/u to uninstall the installed components and execute the command regsvr32/u Jmail.dll.
Iii. detailed description of the objects of the W3 JMail component (12):
1,. POP3 objects
Property (or method)
Description

Connect (Username,password,server,port)
Connect POP3 server, the fracture is optional, the default 110.

DeleteMessages ()
Deletes all messages from the mail server.

Deletesinglemessage (MessageID)
Deletes the message specified by MessageID from the mail server.

Disconnect ()
Close the connection to the mail server.

Downloadheaders ()
Reads all headers from the mail server and passes them to the messages collection.

Downloadmessages ()
Read all messages from the mail server.

Downloadsingleheader (MessageID)
Reads the specified headers from the mail server and passes them to the messages collection.

Downloadunreadmessages ()
Reads all unread messages from the mail server.


2,. Messages objects
Property (or method)
Description

Clear ()
Clears all content from the collection and does not delete any messages on the mail server.

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.