Solved

results form to email

Posted on 2002-07-14
4
134 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now