View Single Post
  #6 (permalink)  
Old October 18th, 2009, 08:01 PM
mat41 mat41 is offline
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

;;; If I add an email address after SendEmail function the form, I'm guessing will only go to the address that I have placed in the code.

An email will go to the address you pass into the function yes (providing the function is free of bugs)

;;;Is there a variable that I am missing which I have misplaced?
No but you, as I have said, are trying to call a function which expects a value to be passed to it. If you want this value to be the emai address you need to change this line to:

SendEmail(UserEmail)

Provided that is a vaid email address and providing there are no other code errors it should work. it will solve your current error.
__________________
Wind is your friend
Matt
Reply With Quote
The Following User Says Thank You to mat41 For This Useful Post:
futurehype (October 19th, 2009)