Totally depends on which A and B countries we are talking about, some outbound countries do conduct customs checks, I think (do not quote me) the Netherlands may be one of those countries, I would imagine all countries inspect inbound letters/packages etc.