The first thing is to know the IBAN code for the country you are sending the money to, which we have provided for Egypt above. All banks will require you to fill in the code next to your bank account number.
When you make a payment, the code is compared to the IBAN register to ensure that the receiver is correct.
If an IBAN is entered incorrectly and there is no account corresponding with that IBAN, the transaction will fail. If a corresponding account exists, the transfer will go through and can only be reversed with the recipient's permission.
On the other hand, most banks use an IBAN checker, to ensure that valid IBANs are free of errors.