Solved

results form to email

Posted on 2002-07-14
4
137 Views
Last Modified: 2013-12-24
I've got an fp-form which send the results to my e-mail.
Visitors have to give their e-mail address in the form and I would like to get an email with "from:visitor@site.com", but instead the from address is my server.
How can I get the form-field "emailaddress" as the from in the mail ?!

moswa
0
Comment
Question by:moswa
  • 2
4 Comments
 
LVL 6

Expert Comment

by:jdfulton
ID: 7164831
It is not possible unless you have access to the server.  Your email settings for the server is what frontpage uses.  If you can change this then you can do it if not you will need to create a custom form.
0
 
LVL 6

Accepted Solution

by:
jdfulton earned 50 total points
ID: 7164861
It is not possible unless you have access to the server.  Your email settings for the server is what frontpage uses.  If you can change this then you can do it if not you will need to create a custom form.
0
 
LVL 10

Expert Comment

by:KenAdney
ID: 7170068
Actually, it's possible with CDONTS, but it's not something easily built with FP.  For instance, the following code runs in an ASP page and will take the senders email off a form and send it to you:

<% If request.form("email") <> "" THEN
Set objCDOMessage = Server.CreateObject("CDONTS.NewMail")
' creates the object
objCDOMessage.From = request.form("email")' the address listed as "From"
objCDOMessage.To =  "you@yourdomain.com" ' the address listed as "To"
' you could include bcc and cc recipients as well
objCDOMessage.Subject = "An email" ' specify the subject header
objCDOMessage.Body = "Hi, I was at your website."
     'now send the message
objCDOMessage.Send

'wrap things up
Set objCDOMessage = Nothing

End If
%>
0
 
LVL 1

Author Comment

by:moswa
ID: 7170072
OK, doesn't work with fp, I've got access to the server, but has to be changed for one site only. Solved it already with the PHP mail function
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question