Connecting Tech Pros Worldwide Help | Site Map

Problem with javascript contact form and outlook express?

  #1  
Old April 24th, 2007, 07:25 PM
mirkobonet@gmail.com
Guest
 
Posts: n/a
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

  #2  
Old April 24th, 2007, 10:55 PM
Randy Webb
Guest
 
Posts: n/a

re: Problem with javascript contact form and outlook express?


mirkobonet@gmail.com said the following on 4/24/2007 2:20 PM:
Quote:
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:
(the server doesn't support php or asp)
Find a free one on the web.
Quote:
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:
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/
  #3  
Old April 26th, 2007, 08:35 PM
mirkobonet@gmail.com
Guest
 
Posts: n/a

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:
mirkobo...@gmail.com said the following on 4/24/2007 2:20 PM:
>
Quote:
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:
(the server doesn't support php or asp)
>
Find a free one on the web.
>
Quote:
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:
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:
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/

  #4  
Old April 27th, 2007, 10:05 PM
Randy Webb
Guest
 
Posts: n/a

re: Problem with javascript contact form and outlook express?


mirkobonet@gmail.com said the following on 4/26/2007 3:30 PM:
Quote:
I Know, that's sucks.
What really sucks are people who can't quote/post properly.
Quote:
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/
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox form submiting problem, works fine in ie mohawk411 answers 2 April 6th, 2007 08:44 PM