ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Managing emails
  • Overview
  • Operating mode
  • Method for accessing Lotus Notes:
  • Version of Lotus Notes
  • Handling data
  • Sending emails
  • Reading emails
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Warning
WLanguage's Lotus Notes access functions are retained mainly for compatibility with existing projects.
Data access via REST API (Domino Data Service) is now recommended. Notes server version must be 9.0.1 or higher.
Overview
WINDEV and WINDEV allow you to easily access the data handled by Lotus Notes (Domino database). You have the ability to retrieve, modify, add or handle your contacts, appointments, tasks, emails, databases, ...
The data managed by Lotus Notes is organized as follows:
  • A database per user containing the emails, the tasks and the appointments of this user.
  • A database common to all users containing the contacts and the groups of contacts.
  • Several databases containing documents.
To access Lotus Notes, the Lotus Notes client must be installed on the end-user computers.
Operating mode

Method for accessing Lotus Notes:

  1. Establish connection with Domino server: function NotesOpenConnection.
  2. Open a session to access emails, tasks, appointments, contacts and/or groups of contacts: function EmailStartNotesSession (indicating the connection identifier and the local or remote Lotus Notes database to be used, syntax 2) or function EmailStartSession with a variable of type emailNotesSession.
  3. Open a document access session: function NotesOpenDatabase (indicating the connection identifier and the local or remote Lotus Notes database to be used).
  4. Change the Lotus Notes database to be used: functions NotesCloseDatabase and NotesOpenDatabase.
  5. Close connection with Domino server: function CloseSession or EmailCloseSession.
Quick method if you do not want to access the documents
If you only want to access the emails, tasks, appointments, contacts and/or groups of contacts, you have the ability to establish the connection with the Domino server and to start a session for accessing the Lotus Notes database by using EmailStartNotesSession directly (syntax 1), without calling NotesOpenConnection.

Version of Lotus Notes

The access to Lotus Notes is available for Lotus Notes version 6.5 or later.
Handling data
Once the connection was established with the Domino server and once the Lotus Notes database was specified, you have the ability to handle:

Sending emails

When sending an email, if one or more CR characters are found at the end of the outgoing message, these characters are automatically deleted by Lotus Notes. This deletion is performed when the message is converted into a Rich Text string.
Please note: To send e-mails, Lotus Notes must be installed in connected mode, not in local mode.

Reading emails

The order in which the emails are read may differ from the order in which the emails are displayed in Lotus Notes.
Related Examples:
Accessing the Notes and Outlook databases Unit examples (WINDEV): Accessing the Notes and Outlook databases
[ + ] Accessing the contacts found in the Lotus Notes and Outlook databases in WLanguage.
Several WLanguage functions are used to access the Lotus Notes and Outlook databases in native mode.
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/20/2024

Send a report | Local help