JVCL Help:TJvMail.FindFirstMail

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Retrieves the message identifier of the first incoming message.


Pascal

 functionFindFirstMail: Boolean;


Return Value

True if the function was successful, otherwise false which means the enumeration is complete.


Description

Call FindFirstMail to start enumerating messages. It will retrieve the first message identifier of an incoming message. The retrieved message identifier is returned in property SeedMessageID.
When property SeedMessageID is set to a valid message identifier, you can call ReadMail to read the message associated with that message identifier.
Make subsequent calls to FindNextMail to enumerate all messages in the folder.


See Also

TJvMail.FindNextMail, TJvMail.ReadMail, TJvMail.ReadOptions, TJvMail.SeedMessageID


About

Notes

FindFirstMail calls can be made only in the context of a valid Simple MAPI session established with the LogOn function.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page