Solved

results form to email

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
I need a solution to a Webpage for Wholesale Availability. 11 48
How to burn dual layer DVD using Encore CS3 8 147
Web creation tool 12 108
About Wordpress website 3 106
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…
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 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…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

816 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

11 Experts available now in Live!

Get 1:1 Help Now