Hello - I am in need of some help with a mail form. The form I created works except that I need a few tweaks and I'm hoping someone can point me in the right direction.
I need help with two things - probably simple for most.
1) In my web form I have a box for filling out an email address. But instead of the person filling out the entire email, I want them to just fill out the first part, not the domain name - since all of the email address will belong to the same domain. So for example - in the form I would enter joe.smith The form field name for that part is emailw. When you hit the Submit button, an email is sent to the person who just filled out the form, with the information they submitted.
So in my code for sending the email - how do I write the code so that emailw is sent but also with the constant xxx.com? So that wayjoe.smith@xxx.com get the email?? I hope I'm not confusing anyone.
2) In my ASP code I have this line for what text should be sent in an email:
myMail.TextBody=vdetails
vdetails is a textarea box that has information in it. However, I need other form fields sent in the email such as fname(first name), lname (last name), etc...
How do I write code that will include those fields, as well as the vdetails part?
Any help would be very much appreciated!!!