Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Problem with javascript contact form and outlook express?

Question posted by: mirkobonet@gmail.com (Guest) on April 24th, 2007 06:25 PM
The idea is creating a contact form using mailto so it work with the
regular mail program.
(the server doesn't support php or asp)

I created the form and the function is function mailMe(form){
Subject=document.testform.subj...
message="First Name: "+document.testform.firstName.... '<br />' +
"Last Name: "+document.testform.lastName.v... '<br />' +
"Telephone: "+document.testform.phone.valu... '<br />' +
"Company: "+document.testform.company.va... '<br />' +
"Email: "+document.testform.email.valu... '<br />' +
"Question: "+document.testform.question.v...

It works fine on my computer and mozilla thunderbird, BUT it doesn't
work in Outlook Express. In outlook I get the tag <brbetween the
entries and not the actual breaking line.

Is it just Outlook fault that is not just compatible with that or I'm
wronging something?

Thanks

Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Randy Webb's Avatar
Randy Webb
Guest
n/a Posts
April 24th, 2007
09:55 PM
#2

Re: Problem with javascript contact form and outlook express?
Join Bytes! said the following on 4/24/2007 2:20 PM:
Quote:
Originally Posted by
The idea is creating a contact form using mailto so it work with the
regular mail program.


Give up now, it will save you a lot of trouble.
Quote:
Originally Posted by
(the server doesn't support php or asp)


Find a free one on the web.
Quote:
Originally Posted by
I created the form and the function is function mailMe(form){
Subject=document.testform.subj...
message="First Name: "+document.testform.firstName.... '<br />' +
"Last Name: "+document.testform.lastName.v... '<br />' +
"Telephone: "+document.testform.phone.valu... '<br />' +
"Company: "+document.testform.company.va... '<br />' +
"Email: "+document.testform.email.valu... '<br />' +
"Question: "+document.testform.question.v...
>
It works fine on my computer and mozilla thunderbird, BUT it doesn't
work in Outlook Express. In outlook I get the tag <brbetween the
entries and not the actual breaking line.


That won't work for about half the web (pick your own percentage) as it
will never be able to be made to work with web based email clients
(gmail, yahoo, etc...).
Quote:
Originally Posted by
Is it just Outlook fault that is not just compatible with that or I'm
wronging something?


The problem is trying to send an email using mailto:.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

mirkobonet@gmail.com's Avatar
mirkobonet@gmail.com
Guest
n/a Posts
April 26th, 2007
07:35 PM
#3

Re: Problem with javascript contact form and outlook express?
I Know, that's sucks.
But the client first said their server was compatible with php. Now
they realize it's not and they don't want to upgrade it.




On Apr 24, 5:50 pm, Randy Webb <HikksNotAtH...@aol.comwrote:
Quote:
Originally Posted by
mirkobo...@gmail.com said the following on 4/24/2007 2:20 PM:
>
Quote:
Originally Posted by
The idea is creating a contact form using mailto so it work with the
regular mail program.

>
Give up now, it will save you a lot of trouble.
>
Quote:
Originally Posted by
(the server doesn't support php or asp)

>
Find a free one on the web.
>
Quote:
Originally Posted by
I created the form and the function is function mailMe(form){
Subject=document.testform.subj...
message="First Name: "+document.testform.firstName.... '<br />' +
"Last Name: "+document.testform.lastName.v... '<br />' +
"Telephone: "+document.testform.phone.valu... '<br />' +
"Company: "+document.testform.company.va... '<br />' +
"Email: "+document.testform.email.valu... '<br />' +
"Question: "+document.testform.question.v...

>
Quote:
Originally Posted by
It works fine on my computer and mozilla thunderbird, BUT it doesn't
work in Outlook Express. In outlook I get the tag <brbetween the
entries and not the actual breaking line.

>
That won't work for about half the web (pick your own percentage) as it
will never be able to be made to work with web based email clients
(gmail, yahoo, etc...).
>
Quote:
Originally Posted by
Is it just Outlook fault that is not just compatible with that or I'm
wronging something?

>
The problem is trying to send an email using mailto:.
>
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptToolbox.com/bestpractices/




Randy Webb's Avatar
Randy Webb
Guest
n/a Posts
April 27th, 2007
09:05 PM
#4

Re: Problem with javascript contact form and outlook express?
Join Bytes! said the following on 4/26/2007 3:30 PM:
Quote:
Originally Posted by
I Know, that's sucks.


What really sucks are people who can't quote/post properly.
Quote:
Originally Posted by
But the client first said their server was compatible with php. Now
they realize it's not and they don't want to upgrade it.


Then find a free one on the web.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

 
Not the answer you were looking for? Post your question . . .
182,322 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors