This topic is locked

Email to client after form is filled

10/7/2009 12:33:52 PM
ASPRunnerPro General questions
I
iwendlei author

I want to automatically send an HTML email after someone fills out a very simple form... How do I make this work?



email="<this should be the client that have just fill out the form>"


message="Hello there" & vbcrlf & "Best regards"

subject="Sample subject"

sendmail email, subject, message

J
Jane 10/8/2009

Wendy,
all entered values are stored in the values array.

Here is a sample:

email=values("email")
I
iwendlei author 10/8/2009



Wendy,
all entered values are stored in the values array.

Here is a sample:

email=values("email")



That didn't work. I tried email=values("email") and also tried email=values("Email Client") which is the name of my field in the database. It is not working.
I know that I have setup the email properly because when I put it back to email="<myEmailAddre>", it works fine.

J
Jane 10/9/2009

Hi,
please make sure field name is your actual field name from database. Field names are case sensitive here.
If it doesn't help publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.

I
iwendlei author 10/9/2009



Hi,
please make sure field name is your actual field name from database. Field names are case sensitive here.
If it doesn't help publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.


I figured it out.
This worked for me.
email=dict("ClientEmail")