Spark plugs packed with melted material