473,573 Members | 2,715 Online
Bytes | Software Development & Data Engineering Community
+ 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 1308
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
1991
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: Apache/1.3.27 (Unix) Resin/2.1.s030505 mod_ssl/2.8.14 OpenSSL/0.9.7b Last-Modified: Thu, 22 Apr 2004 07:05:10 GMT ETag: "182ba6-9d7b-40876ea6"...
3
340
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 = frmExistingCustomer.TBTitle.Tex this is the error mesaage i recieve An unhandled exception of type 'System.NullReferenceException' occurred in...
1
1750
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 complains that they cannot traverse hrefs in the emails. When er acquire the culprit email it appears that their reader is not handling the HTML encoded...
3
1971
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 don't know why. My "development" machine is just my home machine. I'm connected to the Internet via an AOL dialup connection. I am running on XP...
1
1019
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 information to an ASPX page we have on our webserver which updates the database with the information. The problem is that some email programs...
66
8137
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 didnt display the html after the perl script executed. Using perl 5.1 and apache 2.2.9 version(apache installed and run without any errors and no...
2
3738
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 = thisForm.elements.value; var arrExcludeVars = strExcludeVars.split(","); for (var j=0; j<arrExcludeVars.length; j++) { if (arrExcludeVars ==...
2
1646
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 the texarea of a form named "Email_List" to a script that will check email sintax, etc List follows: (some emails have wrong syntax on purpose). ...
1
2533
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 = thisForm.elements.value; var arrExcludeVars = strExcludeVars.split(","); for (var j=0; j<arrExcludeVars.length; j++) { if (arrExcludeVars == strToCheck)...
0
7674
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7989
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8182
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8039
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6369
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5559
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5271
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2170
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 we have to send another system
1
1271
muto222
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.