gestion des server recherchés associés a=à aucun comptes
This commit is contained in:
@ -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")
|
||||
|
||||
Reference in New Issue
Block a user