Because they are classified as dangerous goods, fireworks must never be sent by ordinary mail; their transport and shipment is subject to specific provisions under hazardous goods legislation. Should you intend to ship fireworks you are strongly recommended to inquire about the relevant provisions at the post office or the carrier assigned for the transport.
In any case of shipment by post or online commerce, our guidelines summarised in the section "Travel within the EU" apply by analogy.