473,699 Members | 2,722 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 1312
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
1993
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" Accept-Ranges: bytes
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 Caravan.ex Additional information: Object reference not set to an instance of an object
1
1757
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 values (i.e. &amp;) properly. Is this a problem only with older readers (i.e. old version of Lotus...
3
1976
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 Pro and my IIS server is (apparently) configured
1
1024
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 like Outlook will not Submit the form properly, due possibly to the security settings. So what we...
66
8169
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 warning, perl tested fine) b) Also, when i clicked the html code to submit the upload of the...
2
3757
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 == strToCheck) return true;
2
1658
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). ben_wade@gmail.com
1
2541
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) return true;
0
8706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8947
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8902
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7787
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6552
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5891
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4392
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2366
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2016
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.