What is NebulaMail?NebulaMail is intended to answer the frequently asked question "how do I send mail from my Pick application?". With NebulaMail you can send text or HTML e-mail easily from your BASIC code using the template and substitution method common in web page development. You don't need to know anything about SMTP or MAPI protocols, or figure out how to tie into sendmail or blat. Attachments are easily sent from anywhere in your network. The following code sample comes from the library of sample code provided free with NebulaMail. You are free to copy code samples into your application code to immediately enable your software with e-mail capability: SUBS = "" You'll notice that this client code can easily run unchanged over any MV DBMS environment. For VARs supporting multiple platforms this portability is important. How do we send plain text or HTML e-mail?The above example uses variables BODY and MY.MAIL.TYPE with no definition. To send plain text, use this code: MY.MAIL.TYPE = NMAIL.BT.TEXT Each attribute in the body is a line in the plain text body. To send HTML: MY.MAIL.TYPE = NMAIL.BT.HTML What about Attachments? ATT.PATH = "c:\temp\mail\test.pdf" You just provide the real path to the file, the filename you want the recipient to see, and NebulaMail will figure out the proper MIME type, to ensure for example, that the recipient uses Microsoft Word to open up a file that has a ".doc" file extension. Multiple attachments are delimited with semicolon, comma, or subvalue-marks. Other solutions are platform-specific or tie into third-party tools, making them less portable and more costly to implement and maintain. If you are using sendmail or blat now, think about what you'd have to do to convert to another DBMS or OS. Why didn't we use AccuTerm to send mail from client PC's, or use MAPI or other common techniques for creating e-mail? Take a look at this informative white paper on the topic: http://www.asent.com/email_white_paper.htm - and be sure to read the Summary at the bottom of the document. NebulaMail was designed to eliminate object oriented programming, scripts, and other non-Pick BASIC concerns, and the costs associated with using them. Re: White Paper by Peter Schellenbach and Joe Goldthwaite. This isn't intended to criticize the techniques generously documented, but to point out their complexity. NebulaMail receives e-mail?This unique feature allows your business application to poll a mail server just like any other e-mail client. This allows your code to check for bounced mail, out of office notifications, "remove me" requests, and other responses to your mail. It also provides a whole new way for your business partners to interact with your business:
All of these things are possible right now for your business. Many companies are using XML Web Services to perform these functions. We will be happy to work with you to implement Web Services, and Tony Gravagno has even written articles on the topic) but you may not need it right now. Many Pick people don't want to hear about "Web Services", and others are concerned about the technical issues of setting up Web Services or opening web access to their business applications. Using e-mail to exchange data, you can do all of this without using uncomfortable technologies. © 2006 Nebula Research and Development |
|||
|
Home
| About Us | News
| FAQ | Products E-mail
for Product and Service inquiries. |
|||