Letters are to be sent out to all who had been targeted, informing them their phones had been hacked.