i want to create an auto reply a text... this is the voting text
for example
i have a three choices:
1 = admin
2 = user
3 = students

then when choose number 1. it will send to the server
then after that.. i receive the auto reply says:

"you choose the admin, thank you for your vote.
Your vote has been counted ".

please guys help me..
give some code with this,..

thank you for advance. and i hope you help me