220 volt plug in problem

I took a replacement cord for a dryer that fit my outlet and put a box on the bare end with the outlet that I needed.


Alan