Form Results

B

Brian F.

Hello All,

I have created a form in FP XP and I have a question regarding emailing
the results of this form. Using FP extensions I have the results of this
form E-mailed to a specific address. What I would like to know is if I can
have the user enter their a-mail address on the form and when the form sends
itself it will look like the form came from their a-mail address that was
entered on the form. As it sits right now when the a-mail comes it looks
like it was sent from the a-mail address that I setup in IIS 5.0 for sending
mail.

Any help on this matter would be greatly appreciated.
 
K

Kevin Spencer

You can certainly do this. However, it will require some custom server-side
programming, and may require re-configuring your SMTP server as well. You
would have to write your own ASP/ASP.Net (or whatever other server-side
technology is available on your server) program to handle the form post. If
ASP, it woulkd use CDONTS to send the email. However, most SMTP servers
disallow relaying, which is the sending of emails from other domains. If so,
you would need to re-configure your SMTP server to allow relaying.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
R

rtaaop

-----Original Message-----
Hello All,

I have created a form in FP XP and I have a question regarding emailing
the results of this form. Using FP extensions I have the results of this
form E-mailed to a specific address. What I would like to know is if I can
have the user enter their a-mail address on the form and when the form sends
itself it will look like the form came from their a-mail address that was
entered on the form. As it sits right now when the a- mail comes it looks
like it was sent from the a-mail address that I setup in IIS 5.0 for sending
mail.

Any help on this matter would be greatly appreciated.


.
Your question has been raised a number of times on this
board. Unfortunately, you are stuck with receiving your
form from yourself. Add a place for a respondent to add
his email address from within your form. It's the only
solution.
 
M

Mike

I am doing this with the following code.I have
a form that gets filled out. When they submit it,
it then goes to a 'submit' page that the client
never sees. I have the submit page record the
info into a dbase then send an e-mail and it
shows that it came from them that way I can
reply to it and send them a message.

Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.To = "(e-mail address removed)"
objCDOMail.From = (request.form("ClientEMail"))
objCDOMail.Subject = Whatever subject you want.
objCDOMail.Body = Whatever body you want.
objCDOMail.Send
Set objCDOMail = Nothing

Mikeal
 
P

Philippe Berard

Mike,
Could this be done with a 'submit' page that the client never sees and a
print button on the same form as well? That is - sending the results via
email AND having the client printing the form for review and signing. This
would be the best and that is what we are looking into at this time.

Regards

Philippe Berard
(e-mail address removed)
 
M

Mike

I would have the form 'submit' to a confirmation page that
that the client could print and the email code would be
included on that confirmation page. The code I gave is
ASP code and is server side code that the client will
not see.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top