Using javascript send info from a html form via email client
Discuss Using javascript send info from a html form via email client in the JavaScript Development forum on Dev Shed. Using javascript send info from a html form via email client JavaScript Development forum discussing JavaScript and DHTML, AJAX, and issues such as coding cross-browser JavaScript.
Posts: 4
Time spent in forums: 41 m 45 sec
Reputation Power: 0
Using javascript send info from a html form via email client
Hi, I am currently working on a basic HTML template for my workplace. The general idea behind it is to have a HTML form where you input the information then slick the submit button which then opens the compose message screen from the pc's default mail client containing the information form the HTML form. I have a working copy of it, however I am having some problems with the way it works.
At the moment, once all information is input to the form and the submit button is pressed the email program will open, with all the information. But, there is a limit af approx. 1600 characters that can be input to the form, if there are more it will not open the email. Also there is no text formatting when the information is passed on to the email client.
Basically what I need is for the form to format the information correctly, eg. when the enter key is pressed in the form, once the email is created it will add the break. Also I cant figure out why the character limit exists.
the file is located at http://site.theavatar.info/template2.html If anyone can offer me some advise on why this occours, that would be most appreciated.
Posts: 4
Time spent in forums: 41 m 45 sec
Reputation Power: 0
Because one isnt available for me to use. I'd happily put it on my own webserver, but at work we have a nasty proxy of doom... bareley lets us look at google :/
Posts: 19,895
Time spent in forums: 6 Months 2 Days 20 h 11 m 21 sec
Reputation Power: 4192
You could install IIS or Apache on a computer if you have one available that can be running whenever people are there working. IIS is probably easier to setup if you don't have experience with administrating Apache.
Posts: 4
Time spent in forums: 41 m 45 sec
Reputation Power: 0
That is not possible, well it is if i want to get fired. My company is pretty tight on the way we use out PC's. we would get fired for pluging pretty much anything in to the USB ports... so I dont think they would like me running apache on one of their pcs ;p
Bottom line is that it must be client side, and if it cant be done the way I want it then ill find an alternative (probably just a simple outlook template).
Thnaks for your time though, I appreciate your input