newline in an email msg
I've got my first question now:)
i have a contact form on my site in which the user can write her name, her email adress und her message she wants to send me.(unfortunately i haven't got PHP or any other server side language running on the server:()
now i want to build an email string according to these variabales got from the form, here's my code:)
the alert's are just set to see if the variables are built correctly, and surely they are:)
form = document.form1;
name = form.name.value;
email = form.email.value;
nachricht = form.nachricht.value;
body = "Hallo,"+name+" [ "+email+" ] schrieb folgende Nachricht: "+nachricht;
subject = "Mail von konfi.nes-evangelisch.de";
location = "mailto:firstname.lastname@example.org?subject="+subject+"&body="+body;
I've got no more idea, i hope u can help me out:)
P.S. plz excuse my bad english skills, i hope it's still understandable:)
P.P.S. If I'm talking about a "user" or a " person", do i use him/his oder her/her?
that was all:)
THX a lot
Have you tried "\n\n"?
That's two newline characters. That SHOULD give you a full empty space between lines.
doesn't work for me:(
you can have a look at the site http://toxic.homeip.net/konfi/index.html -> then go "contact" --> "em@il"
there you can enter a name, an email and a msg text. when you click submit , your email client will open , with a text and subject predefined, but the newslines you will probably have written in the textare won't be still there:(:(
hope u can help me
THX a lot
P.S. The site will be available under the given URL only until 3.00 a.am approximately.
then the url will probably change, but i gonna update it as soon as possilble, so that u will always see the right URL, i hope.
haven't you got any more ideas? it's quite important to get this problem solved:)