Your quick response will be something like
Thank you for bringing the matter to our attention. We strive for the best possible service. We have forwarded your comments to the manager of the hotel.
Sincerely,
Blah blah blah.
The hotel will probably send you a very similar e-mail template in a week or so (or you may never hear from them again)
Depending on the situation they may refund some or all of your stay or they may just say they take these things very seriously and rest assured they will work to resolve them.
My advice after several complaints to them is don't expect much, this way you are not disappointed should they blow you off