From 26976917a8baace3968bd790fbbf6fc927a71dc8 Mon Sep 17 00:00:00 2001 From: jopazerty Date: Wed, 11 Jun 2025 12:51:57 +0200 Subject: [PATCH] =?UTF-8?q?gestion=20des=20server=20recherch=C3=A9s=20asso?= =?UTF-8?q?ci=C3=A9s=20a=3D=C3=A0=20aucun=20comptes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- moveyourPOP.au3 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/moveyourPOP.au3 b/moveyourPOP.au3 index 683b304..7587b31 100644 --- a/moveyourPOP.au3 +++ b/moveyourPOP.au3 @@ -46,7 +46,7 @@ $hGUI = GUICreate("MoveYourPOP", 800, 570) GUISetBkColor(0xf2f2f2) GUISetFont(10, 500, default, "Segoe UI") -GUICtrlCreateLabel("moveYourPOP© by jop - Version 1.2", 0, 553, 800, 15, $SS_CENTER) +GUICtrlCreateLabel("moveYourPOP© by jop - Version 1.3", 0, 553, 800, 15, $SS_CENTER) GUICtrlSetFont(-1, 8, 500, 2, "Segoe UI") GUICtrlSetBkColor(-1, 0xf2f2f2) @@ -327,6 +327,9 @@ Func _getAllServer($profileDirectory) $domainToSearch = StringReplace($domainToSearch, " ", "") if StringRegExp($searchForAcNice[$p], $domainToSearch) Then $infoServeur = _getInfosAboutServer($prefsToArray, $serverID) + if @error Then + ContinueLoop + EndIf $username = $infoServeur[0] $IDAccount = $infoServeur[1] $IDIdentity = $infoServeur[2] @@ -407,6 +410,9 @@ Func _getInfosAboutServer($prefsArray, $serverID) $aArray[0] = _searchValueInPrefsJsArray($prefsArray, "mail.server."&$serverID&".userName") $accountID = _searchKeyInPrefsJsArray($prefsArray, $serverID) $accountID = StringSplit($accountID, ".") + If @error Then + Return SetError(15) + EndIf $accountID = $accountID[3] $aArray[1] = $accountID $aArray[2] = _searchValueInPrefsJsArray($prefsArray, "mail.account."&$accountID&".identities")