Hi, I have really beginners' question but the problem is driving me nuts so if someone find few minutes to answer me, I'd appreciate that.
The problem:
I want to send e-mail through simple mailto function in JS. I do want to pass the required data like recipient, subject & body to whatever e-mail client you have and this actually is not a problem because JS and browser do take care of it.
The only problem is that I want to combine message (body) from various strings like:
message="Hi this me" + string1 + string2 !
The problem is, how can I insert line breaks (CR) whatever needed that will break lines between above 3 strings so that they won't be all in one line ! I want forced breaks, every string in new line when it finally appears as body in mail client.!!
The problem:
I want to send e-mail through simple mailto function in JS. I do want to pass the required data like recipient, subject & body to whatever e-mail client you have and this actually is not a problem because JS and browser do take care of it.
The only problem is that I want to combine message (body) from various strings like:
message="Hi this me" + string1 + string2 !
The problem is, how can I insert line breaks (CR) whatever needed that will break lines between above 3 strings so that they won't be all in one line ! I want forced breaks, every string in new line when it finally appears as body in mail client.!!