You make a web form in HTML and then use a script [probably PHP] to process the data. You can use a generic web form processor to do this (I recommend Form Tools as you can use it to process any other forms you may need in the future with it and it's free) or find a script for this one instance or use a commercial service to process your form for you (easiest).