Hi there,
Well, using the docs on the AspEmail site in combination with the book, it shouldn't be too difficult. Take the following example from the AspEmail website:
Mail.From = "
[email protected]" ' Required
Mail.FromName = "Sales Department" ' Optional
Mail.AddAddress "
[email protected]", "John Smith"
Mail.AddCC "
[email protected]" ' Name is optional
Mail.Subject = "Sales Receipt"
Instead of using these hard coded values, just retrieve them from the form:
Mail.Subject = Request.Form("txtSubject")
Mail.AddAddress Request.Form("txtEmailAddress")
You may need to check these values before you actually send the e-mail to make sure they contain valid information.
Does this help?
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.