![]() |
HOME SOLUTIONS PRESS ROOM FOR PARTNERS SEARCH/SITEMAP SUPPORT |
|
AEE scripting technology Note, that this option is available in Professional and Premium edition of AEE only. To configure JScript, choose "JScript" tab in Advanced Email Extractor settings. You can open the settings window through the program menu.
JScript is a powerful programming language that supports COM/ActiveX automation. From JScript you can deal with MS Excel documents, MS Access databases and other widely used applications that support COM/ActiveX technology. To learn more about the language, see examples and download the language documentation, visit Microsoft web site. In AEE, JScript program is used to "approve" e-mail address. If the address meets all the requirements defined in AEE settings, JScript is to say the last desisive word - whether to add the address to the list of addresses found or not. To make the decision, it can, for example, check the address through Advanced Maillist Verify, compare the mailbox and/or the mailbox domain to the list of mailboxes/domains needed in the program itself or in an external source (e.g., in a MS Excel document).
Advanced Email Extractor extends the JScript name space with an object named aee that contains the following properties and methods:
Please note that JScript program is executed for each new address found. If your program is using "heavy" ActiveX objects, this might result in serious performance problems due to tough usage of CPU resources and to insufficient RAM available. As addresses found are being processes one by one in one stream, use of slow objects and agorythm might affect scan speed negatively. Please note that creating ActiveX components from script is not permitted in unregistered copy of AEE.
Example 1. A program that doesn't allow adding addresses with mailboxes postmaster, webmaster and info to the list.
Example 2. A program that doesn't allow addings addresses that contain the word SPAM in the owner's name, e-mail address or web-page address. Regular expression is used for keyword search.
Example 3. A program approves only addresses with mail domains listed in C:\domains.txt file. The example will work in registered Advanced Email Extractor copy. Also, domains.txt file of the following format must be created in the root directory on C:
Each string must contain only one domain, with no spaces or tabs around. With the data file shown above, the program will approve addresses test@mail.com, john@aol.com etc. Program code:
Example 4. A program approves only actually existing addresses. Address is checked with Advanced Maillist Verify, you must have version 3.0 or newer. The example will work only in registered copy of Advanced Email Extractor. Please note that checking an address will take up to one minute, Advanced Email Extractor will freeze during the check; the program will not approve addresses which check failed (e.g., recipient's mail server was unavailable), though they might exist.
Example 5. The program checks whether there is such address in D:\list.xls document, adds new addresses into the document and approves them. The example will work provided document D:\list.xls exists, Microsoft Excel is installed on the computer and Advanced Email Extractor copy is registered.
Example 6. How to add only Spanish (.es) emails to list? Btw, Advanced Email Locator is a better choise in this case.
Example 7. How to add emails from Spanish sites (.es) only to list?
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright © 1999-2007 MailUtilities.Com All rights reserved. |