Closes a session with Lotus Notes or Outlook.
A session that is not ended will be automatically closed at the end of the WINDEV program or WEBDEV session.
// Start a session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", ...
"email/julia.nsf", "C:\Lotus Notes\julia.id")
// If a session is started, close this session
IF SessionID <> 0 THEN
CloseSession(SessionID)
END
Syntax
CloseSession(<Session identifier>)