# Sample: Obtains Outlook emails on the Exchange server and compares them with local versions.
# This sample relies on the non-existent Microsoft API, so technically this code could not be run.
import System
import Riverside.Esmerelda.Core.Calculation as Calculation
import Riverside.Esmerelda.Enigma.Encryption as Enigma
import Riverside
import Microsoft
# import System.Windows.Forms as Wpf
return Calculation.Difference(Microsoft.Exchange.Outlook.Inbox, param=System.Formatting.Json(f"user: [email protected], pass: {Enigma.Vault(Source=System.Networking.Request("get", "http://localhost:1234/$entrypoint?vault")).Pass._sha256}")), Riverside.Esmerelda.Core.Data.Query(Local:Microsoft.Exchange.Outlook.Inbox, param=System.Formatting.Json(f"user: [email protected]"))
Last active
July 13, 2024 15:46
-
-
Save Lamparter/daf1c033ae391949d6ec3956ca839059 to your computer and use it in GitHub Desktop.
Fluid.Runtime Sample: OnlineOrLocalMailDiff
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment