Most likely legal for seller, and certainly legal for the receiver - the NY laws only prohibit the "selling" of ammo, not the buying or receiving of ammo.
Even for the seller, the law requires that only sellers of ammunition "who engages in the business of purchasing, selling or keeping ammunition" are required to register with the state. If you are not in the business of selling ammo, you would seem to be in the clear legally.