
#Include #include $oOutlook = _OL _Open ( ) If 0 Then Exit MsgBox ( 16, "OutlookEX UDF", "Error creating a connection to Outlook. With my level, I don't know what I can do now.

I tried to change the folder with the function _OL_FolderAccess(), but in this case i got the message "could not find an unread mail. I saw this error was in relation with the Outlook "Appointment", then I tried the script without this test and i got an array with the following elements visible in the attached picture (in my email box, I've more than 150 unread emails, so there is a problem). I tried the example scripts _OL_ItemFind and unfortunately i got error 501 with extended 400 for the environment test. Thank you Water for your fast answer thanks to I learnt something interesting. Please check the example scripts for _OL_ItemFind. Sure you can use the OutkookEx UDF to retrieve the unread mails.

Is it possible to read e-mails with 3 UDF ? Maybe because of my English level I didn't find the answer on the site.Ĭould someone help me to find the answer? pst file of outlook i get error 5 (Mailfolder not found)) $Non_lu = _OutlookGetMail ( $oOutlook, $sFolder, True, "", "", "", "", "", "", True, "", 0 ) Global $Tableau If Not Then For $i = 1 To $Non_lu ConsoleWrite ( $i & " / " & $Non_lu ) $Tableau = $Non_lu $Tableau = $Non_lu Next _ArrayDisplay ( $Tableau ) Else MsgBox ( 0, "Erreur", "Code erreur : " & ) EndIf #include $oOutlook = _OutlookOpen ( ) $sFolder = $olFolderInbox (if i exhange with the. I want to be able to get the content of these emails to analyse it.įor this moment i try this code without success because i get error 3 So, I'd like to get email that i recieve on my Outlook mail and which is in status unread.
:max_bytes(150000):strip_icc()/1Optionsannotated-e53808bd028c46f1b8a861769caaa9e4.jpg)
The french autoit forum is useful but a little bit light for the reading mail. Hello, i'm a french beginner to the software Autoit.
