Round TLRSWP Logo TLRSWP Banner Image
Site Map

EmailDLL Online Manual


prev.gif next.gif

Features and Introduction

Borland IntraBuilder has shown itself a powerful Rapid Application Development platform for Intranet projects. Borland provides a sample application, the Threaded Message Database, demonstrating how to send email from a Javascript form. Unfortunately I, like many others, have been unsuccessful in migrating the email functionality to my own applications. There have been some solutions proposed in various forums. While most perform the simple function of sending text to an SMTP server, the ones I tried proved deficient in one way or another. Once again, necessity has become the mother of invention.

Major Features:

diamond.gif Object-oriented: email-enabling your IntraBuilder application is easy with the Email DLL. A Javascript class definition is provided, so you can use the familiar object-method metaphor; you can derive new objects from it, etc.

diamond.gif Designed for IntraBuilder: the DLL takes advantage of IntraBuilder's multiple user agents and user sessions. The object-oriented nature prevents collisions between messages sent by multiple user sessions running on the same Agent.

diamond.gif SMTP server set at run time: no more risky registry editing. You can easily change the server, and you can easily spread the email load across multiple servers if necessary.

diamond.gif DLL-based: no additional processes are started on the server. A DOS session started to run a command-line email utility can take 4 to 12 MB of memory, regardless of the size of the actual program. The DLL consumes far less than a MB. The time required to start a new process for a command-line executable is not incurred, which improves the response time of your application. Each IntraBuilder user agent loads one copy of the DLL, sharing resources among the user sessions, without collisions. The number of open email sessions is limited only by available memory and your IntraBuilder configuration.

diamond.gif Flexible interface: you can use the included Javascript class, or you can modify the class definition. You can even access the DLL directly if that's how you prefer to work. The email class definition is heavily commented so you won't get lost trying to make direct DLL access work for you.

diamond.gif Email header support: You can use built-in methods to set the To:, From:, ReplyTo:, Date:, CC: and BCC: headers. Other headers you may require can be easily added with the AddOtherHeader routines.

diamond.gif Error checking and reporting: complete error checking and reporting, including functions that return (American) English translations of the numeric error codes.

diamond.gif Intelligent transmission: you can set the number of attempts to make in sending a message before giving up and returning an error status. This improves the success rate when your SMTP server returns errors, or when it is under heavy load.

diamond.gif Debugging Support: a debugging log window can be displayed that tracks the operations performed in the DLL, and any errors that might occur.

diamond.gif Extensive online help with examples for all properties, methods, operators: The online help gives you complete information on not only the recommended solutions, but also examines alternative solutions to deployment issues.

diamond.gif No message files stored on the server: Email messages are not stored in files on the server, decreasing the chances that someone will intercept confidential system email notifications.

prev.gif next.gif


Copyright 1998, TLR Software Publishing
Questions? Comments? Invective?