Solved

results form to email

Posted on 2002-07-14
4
140 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

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…
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
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 insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…

634 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