Solved

results form to email

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
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…

762 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

20 Experts available now in Live!

Get 1:1 Help Now