473,473 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Cant recieve emails through html form

66 New Member
Hi,

I may be totaly wrong with this one but im sure in the past i have created a web form, where when submit button is clicked, it send the form details to me designated email account.

At the moment i have a problem as when the submit button is being clicked it just loads up ms outlook on my pc....

the details of my site / particular are shown below:

Web Address: http://www.flowertime.org.uk/wedding_enquiry.html

If you are to busy to view the page source etc, would be very great full if you could post an example of a working form for this problem.

Many Thanks

Jason
Sep 21 '07 #1
4 1298
booneyHill
7 New Member
I don't think you can use javascript to send emails. You can, however, use a server-side script.
Sep 21 '07 #2
AricC
1,892 Recognized Expert Top Contributor
Hi,

I may be totaly wrong with this one but im sure in the past i have created a web form, where when submit button is clicked, it send the form details to me designated email account.

At the moment i have a problem as when the submit button is being clicked it just loads up ms outlook on my pc....

the details of my site / particular are shown below:

Web Address: http://www.flowertime.org.uk/wedding_enquiry.html

If you are to busy to view the page source etc, would be very great full if you could post an example of a working form for this problem.

Many Thanks

Jason
The MS Outlook thing is because you use mailto in your anchor you need to create a form and the action of the form needs to do the email work for you on the server.
Sep 22 '07 #3
diane100
6 New Member
Hi

I use a simple Perl Formmail script to process online forms to my email address

You can find the script here

The HTML should look something like this

[HTML] <FORM METHOD="POST" ACTION="/cgi-bin/formmail.pl">[/HTML] (this is the path to where the formmail script is located)
[HTML]<INPUT TYPE="hidden" NAME="recipient" VALUE="address" >[/HTML]
(replace address with you email)
[HTML]<INPUT TYPE="hidden" NAME="redirect" VALUE="address" >[/HTML]
(replace address with the url of the page to redirect to)

On the actual script you will need to edit your IP address, domain name and path to send mail on your server (something like /usr/sbin/sendmail) check with you hosting company if you are not sure

I run the script from the CGI directory and persmissions should be set at 755

You will find detailed instructions in the readme file

Regards
Diane
Sep 23 '07 #4
jasone
66 New Member
hi,

Thanks for the reply diane100, i will work through it a bit later today!
Sep 24 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jack Schafer | last post by:
I am trying to download the source code for an array of differant websites, usually i will get something like this from Dilbert.com: HTTP/1.1 200 OK Date: Fri, 23 Apr 2004 00:04:54 GMT Server:...
3
by: Me | last post by:
Hi Folks I keep recieving the following error message when i try to bind a combobox to the value that is in a textbox. the application crashes on the following line... Me.CBoxTitle.SelectedItem...
1
by: tconti | last post by:
Howdy: I have 2 general questions regarding the use of XSLT to generate emails. We have several procecesses that use XSLT to generate emails. We frequently run into issues where a client...
3
by: Steve Thurston | last post by:
Hi, I'm attempting to send emails for the first time using ASP.NET, so I'm hoping there's just a beginner's error going on here for me. But my emails aren't reaching their destination, and I...
1
by: =?Utf-8?B?Sm9obiBXYWxrZXI=?= | last post by:
Hi, Currently I have a VB.NET app which sends an HTML email to a customer. The email has a textbox form field and submit button. The customer inputs a date, clicks submit and that form sends the...
66
by: happyse27 | last post by:
Hi All, my html code is sno 1) and perl code is sno 2). a) I tried to print $filename and it cant print out the value, only blank was displayed, and the file could not be uploaded. And it...
2
by: lstanikmas | last post by:
Hi, I'm validating a form with this ASP but receiving some blank email responses; does anyone see anything wrong with it?: function isFormVarExcluded(thisForm, strToCheck) { var strExcludeVars...
2
by: virtualweb | last post by:
Hello guys: Im a perl beginner (self taught) and Im unable to get elements from an array. Here is my situation step by step: 1) A list of emails is submitted, (one email per line), through...
1
by: Lelu | last post by:
Hi, My HTML form is generating some blank email responses; does anyone see anything wrong with the scripts?: function isFormVarExcluded(thisForm, strToCheck) { var strExcludeVars =...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.