You should be opening the jars at least once a day for 5-15 minutes. The smell you got is probably some kind of rot as the humidity in the jars probably got very high.
Take the top off for a few hours, stir the buds to get the bottom buds on top, and check for mold. If you're lucky and no mold developed, you may get away with it. Just be sure to let them breathe a bit every day. Twice a day is probably better. Good luck...