wedding help

When writing thank you cards for your wedding how do you thank them for the money? Idk I just don't want to say thank you for the money it sounds rude? Idk I need help!