PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of emailNotesSession variables
  • Functions that use the emailNotesSession variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The emailNotesSession type is used to access a Lotus Notes messaging server in order to retrieve the messages found on this server and to send messages. The connection characteristics can be defined and modified by several WLanguage properties.
Note: See Declaring a variable for more details.
Example
// Start the session
MySession is EmailNotesSession

MySession..AddressDominoServer = "domino.mycompany.fr"
MySession..LotusNotesDatabase = "email/comptability.nsf"
MySession..CertificatePath = SysDir(srMyDocuments) + ["\"] + "certificates\notes.id"
MySession..Password = EDT_Password

EmailStartSession(MySession)
Remarks

Properties specific to the description of emailNotesSession variables

The following properties can be used to handle an emailNotesSession variable:
Name Type used Effect
AddressDominoServerCharacter string
  • Name of Domino server,
  • Empty string ("") if the database is a local database.
LotusNotesDatabaseCharacter stringName of Lotus Notes database containing the user data. This name corresponds to the path of ".NSF" file.
A relative path must be used if the Lotus Notes database is found on a Domino server.
If this property is not specified, the name of the Lotus Notes database will be read in the configuration file of the Lotus Notes client ("Notes.INI" file). The database used will correspond to the database of the user of Lotus Notes client for the current computer.
CertificatePathCharacter stringPath of certificate used to authenticate the user ("ID" file). This file is given by the administrator of the Domino server. This file is required to establish the connection to the server.
If this property is not specified, the path of the certificate will be read in the configuration file of the Lotus Notes client ("Notes.INI" file). The certificate used will correspond to the certificate of the user of the Lotus Notes client for the current computer.
PasswordCharacter stringUser password. This password is given by the service provider or by the network administrator.

Functions that use the emailNotesSession variables

Versions 09 and later
EmailCloseSession
New in version 09
EmailCloseSession
EmailCloseSession
Closes a session for email management according to the selected mode (SMTP/POP3, IMAP, MS Exchange, Pocket Outlook or Lotus Notes)
Versions 09 and later
EmailDeleteMessage
New in version 09
EmailDeleteMessage
EmailDeleteMessage
Used to delete the current email according to the current protocol (POP3, IMAP, MS Exchange, Pocket Outlook, Lotus Notes or Outlook messaging)
Versions 15 and later
EmailGetAll
New in version 15
EmailGetAll
EmailGetAll
Retrieves all the emails found on a server.
Versions 09 and later
EmailNbMessage
New in version 09
EmailNbMessage
EmailNbMessage
Returns the number of incoming messages currently found:
  • on the email server (POP3 protocol only).
  • in the Outlook messaging software
Versions 09 and later
EmailReadFirst
New in version 09
EmailReadFirst
EmailReadFirst
Reads the first incoming email according to the protocol used (POP3 or IMAP, MS Exchange, Lotus Notes or Outlook)
Versions 09 and later
EmailReadFirstHeader
New in version 09
EmailReadFirstHeader
EmailReadFirstHeader
Reads the header of the first incoming email according to the protocol used (POP3 or IMAP, Lotus Notes or Outlook).
Versions 09 and later
EmailReadLast
New in version 09
EmailReadLast
EmailReadLast
Reads the last incoming email according to the protocol used (POP3 or IMAP, MS Exchange, Lotus Notes or Outlook)
Versions 09 and later
EmailReadLastHeader
New in version 09
EmailReadLastHeader
EmailReadLastHeader
Reads the header of last incoming email according to the protocol used (POP3 or IMAP, Lotus Notes or Outlook)
Versions 09 and later
EmailReadMessage
New in version 09
EmailReadMessage
EmailReadMessage
Reads an incoming according to the protocol used (POP3 or IMAP, Lotus Notes or Outlook)
Versions 09 and later
EmailReadMessageHeader
New in version 09
EmailReadMessageHeader
EmailReadMessageHeader
Reads the header of an incoming email according to the protocol used (POP3 or IMAP, Lotus Notes or Outlook)
Versions 09 and later
EmailReadNext
New in version 09
EmailReadNext
EmailReadNext
Reads the incoming email found after the current email according to the protocol (POP3 or IMAP, MS Exchange, Lotus Notes or Outlook)
Versions 09 and later
EmailReadNextHeader
New in version 09
EmailReadNextHeader
EmailReadNextHeader
Reads the header of the email found after the current email according to the protocol used (POP3 or IMAP, Lotus Notes or Outlook).
Versions 09 and later
EmailReadPrevious
New in version 09
EmailReadPrevious
EmailReadPrevious
Reads the email found before the current email according to the protocol used (POP3 or IMAP, MS Exchange, Lotus Notes or Outlook)
Versions 09 and later
EmailReadPreviousHeader
New in version 09
EmailReadPreviousHeader
EmailReadPreviousHeader
Reads the header of the email found before the current email according to the protocol used (POP3 or IMAP, Lotus Notes or Outlook).
Versions 11 and later
EmailSeekFirstNotes
New in version 11
EmailSeekFirstNotes
EmailSeekFirstNotes
Seeks one or more emails according to specified criteria, in a local or remote Lotus Notes or Domino database.
Versions 09 and later
EmailSendMessage
New in version 09
EmailSendMessage
EmailSendMessage
Sends an email according to the protocol used (SMTP, MS Exchange, Pocket Outlook, Lotus Notes, Outlook)
Versions 09 and later
EmailStartSession
New in version 09
EmailStartSession
EmailStartSession
Starts a session for email management according to the selected management mode (POP3, SMTP, IMAP, MS Exchange or Pocket Outlook)
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment