Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Downloads
Search: 

Lotus Notes - Read and Send EMail using VFP
Eduardo Echavarria, Q2Busa
This VFP class (prg file) can read and send email using Lotus Notes's [Notes.NotesSession] object. A set of small testBeds are included to help with testing this class. Tested with Notes v4.6 and VFP 6.
Created on
21 years ago
Downloads
816
File type
Rating
4.00/5.00
General information
Rating:
4.00/5.00 (1 rate) Rate this item
Description
#Summary This VFP class (prg file) can read and send email using Lotus Notes's [Notes.NotesSession] object. A set of small testBeds are included to help with testing this class. #Requirements 1. Tested with Notes v4.6 and VFP 6. 2. Must have Notes running or otherwise, the user will get the Notes login dialog. 3. If you are going to run the testBed, please change the Recipient and AttachmentList parameters in the Send_EMail procedure call in the testBed_FinalTesting method. #Comments 1. This is a single program file that, when executed, will run the testBed. The main testBed method will run the testBed_FinalTesting method that loads in references to the current session of Lotus Notes, reads some of your email messages into cursors, sends a few messages, and clears the references. 2. If you have access to more than one account, then you can tell this class to use a specific account when you use the Login method. Simply specify the server and maildb to get to the non-default email account. Ex. This.Login("YourServerName/Server/YourCompany", "mail\YourUserId.nsf") Bye. -e2
Created by
Eduardo Echavarria, Q2Busa
6+ yrs exp w/VFP (since 9/96) 5+ yrs exp w/VB Other things... 1. MV90 (OLE-DB/SQLExec) Working with its Btrieve tables and pulse data files for billing complex rates and maintenance/exception reports. 2. EDI (mainly 867 - TX Set) Reading and writing EDI files for use in clearinghouse and billing system. 3. MQ Series (IBM - MQAX) Using MQ ActiveX controls to read from and write to queues.

Comments
I encountered one problem when doing it that way: If in the body you place "hard returns", notes will not understand them as the body will be created as a regular "text" item. Changing the body to "rich text" will fix the problem: oBody = odoc.CreateRichTextItem('Body') obody.AppendText(ThisForm.Edit1.Value) where odoc is: oDoc = oDB.CreateDocument() By the way, I use the ReplaceItemValue instead of your way (2 ways to skin a cat" Rodrigo Lopez, January 29, 2003

Add a comment