• 0

Sendig email with subject and body


Question

I have a link using mailto:, and i want the email client to open with the subject and the body of the email.

I know how to do it, my problem is that i cant make the body of the email multiline.. for example i am doing right now this

href="mailto:what@ever.com?subject=bla bla&body=TEXT HERE AND MORE TEXT IN OTHER LINE"

so when i click the link it opens OE(in my case), and the body is like this:

TEXT HERE AND MORE TEXT IN OTHER LINE

what i want is the body to appear like

TEXT HERE

AND MORE TEXT IN OTHER LINE

notice that i need it in two lines...

Thanks!!!

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

This is a shot in the dark, but you could try using the newline escape code.

href="mailto:what@ever.com?subject=bla bla&body=TEXT HERE\nAND MORE TEXT IN OTHER LINE"

--

Danny Smurf

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.