Solved

form submit

Posted on 2006-07-19
12
201 Views
Last Modified: 2010-04-09
just been asked to have a quick look at a site becuase there submit form does not work.

now when i do a submit form i do it in a server side langauge like CF, but this page is a html page and starts off like so...


<form name="form1" method="post" action="mailto:enquiry@louis-taylor.co.uk">


will the above work? there is some javascript at the top of the page also, but no idea what it does.

any help, many thanks
0
Comment
Question by:pigmentarts
12 Comments
 
LVL 22

Expert Comment

by:Ivo Stoykov
ID: 17136659
Hello pigmentarts,

check the mail server and error log....

HTH

I
0
 
LVL 12

Author Comment

by:pigmentarts
ID: 17136670
will do now...
0
 
LVL 12

Author Comment

by:pigmentarts
ID: 17136685
i dont have access, but i have tested the email address enquiry@louis-taylor.co.uk and it does work if i send a email direct using web mail so the email server is working.


should above work with just 'mailto' becuase i did not know you could just post like that.
0
 
LVL 12

Author Comment

by:pigmentarts
ID: 17136849
anyone?
0
 
LVL 22

Expert Comment

by:Ivo Stoykov
ID: 17136853
Hi pigmentarts,

yes mail may work but does your script has priviliges to send mails?

check your logs, or ask admins do check them. You have to check server and mail logs and application logs (if any).

if mail doesn't work the reasion is in the log.

regards

I
0
 
LVL 12

Author Comment

by:pigmentarts
ID: 17136967
called the server people, they stated there is no porblems. i sent a direct email and it got to them, from the form it does not go, they dont know why either?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 19

Assisted Solution

by:DreamMaster
DreamMaster earned 250 total points
ID: 17137019
The above code will work, but only when it's used in combination with a user that has a mailclient.

If you try and submit this form, and you do not have a mailclient (like Outlook) installed..nothing will happen.

Why? Because "mailto:"  sends using your mailclient...not using the server.

Regards,
Max.
0
 
LVL 12

Author Comment

by:pigmentarts
ID: 17137034
so should outlook load up?
0
 
LVL 1

Expert Comment

by:dharmeshmaniar
ID: 17137144
the above code will try to load default mail client of the users machine. (e.g outlook). It will open/load the default mail client if not already open/loaded.


0
 
LVL 12

Author Comment

by:pigmentarts
ID: 17137167
it does not try and do that on my machine and i do have outlook installed. they told me this was working and just stopped, have any updates been done on IE etc mean this outdated way no longer works?
0
 
LVL 12

Author Comment

by:pigmentarts
ID: 17137291
i have outlook and it never opens or trys to open? i have also tested on 4 other computers and no joy!

anymore ideas?
0
 
LVL 22

Accepted Solution

by:
Ivo Stoykov earned 250 total points
ID: 17137639
Hi pigmentarts,

check pemissions. in outlooks in tools options security usually stay Restricted Zone as a default setting.
Checking IE about settings of this probably will turn out that ActiveX are disabled or prompted. Thry to change the zone of the mail client or to set up the site into trusted sites or intranet

regards

I
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Send Mail Via SMTP Replacement/Rework 11 60
Centering a nested div 16 58
How to avoid jquery conflicts in Wordpress ? 4 24
Split in Javascript 5 30
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

911 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

16 Experts available now in Live!

Get 1:1 Help Now