- Search performed in the emails of an Outlook session
Search performed in the emails of an Outlook session This example is used to find the emails containing the "PC Soft" string in the subject or in the message body. Only the incoming emails are taken into account
// Start an Outlook session SessionID is int SessionID = EmailStartOutlookSession("") ... IF EmailSeekFirst(SessionID, emailSubject + emailBody, ... "PC Soft") = True THEN // Enumerate the emails found WHILE Email.Out = False // Displays the sender and subject in a Table control TableAdd(TABLE_EmailFound, Email.Sender + ... TAB + Email.Subject) // Next email found EmailReadNext(SessionID) END ELSE Info("No email was found") END
This page is also available for…
|
|
|
|