perchè questo controllo non funziona e continua a confermare la creazione della email, anche se poi in realtà non crea nulla???
codice:
' Check for already used mailbox name
If Instr(strHTML, "Name already in use") <> 0 Then
Err.Raise vbObjectError + 1005 ' Il nome scelto per la mailbox è già in uso
End If
' Check for invalid mailbox name
If Instr(strHTML, "it cannot be added") <> 0 Then
Err.Raise vbObjectError + 1005 ' Il nome scelto per la mailbox è già in uso
End If
' Check for invalid mailbox name
If Instr(strHTML, "Not valid address email ") <> 0 Then
Err.Raise vbObjectError + 1006 ' Il nome scelto per la mailbox non è valido
End If