the to address is not set by the wizard at line 10:
MailTo = "firstname.lastname@example.org"
that is just setting a variable that can be used later, it is set in the wizard by the line that instantiates the mail object:
The email behavior is triggered by a form post, but i don't see a form on this page?
You are using localhost as the email server, are you sure this is correct for your host? you should double check with them. and double check that they have a CDOSYS server in place to begin with.