Click to See Complete Forum and Search --> : add body to mailto:


andrew1234
09-09-2003, 10:04 AM
how do i add body and cc and bcc to a mailto tag

mailto:1@2.3?subject=helloworld


and in the body can i a make the text jump to a new line eg by adding a <br> or a /n

thanks

Andrew

pyro
09-09-2003, 10:46 AM
Try something like this:

<a href="mailto:you@your.com?subject=test&cc=someone@your.com&bcc=someoneelse@their.com&body=testing">send</a>

andrew1234
09-09-2003, 10:52 AM
is it possible to put a kline break in the body text
like a <Br> or a /n

thanks

Andrew

pyro
09-09-2003, 11:05 AM
Not that I'm aware of (with plain ole' HTML), but I could be wrong...

requestcode
09-09-2003, 11:15 AM
I believe you can use line break "\n" in the body of the email. You can't use <BR> though. Try it out and see if it works.

pyro
09-09-2003, 11:38 AM
Didn't work for me, when I tried adding it in through the &body in the mailto:

requestcode
09-09-2003, 01:25 PM
OOP's! Guess that shows that I should test out my replies before posting. Thanks pyro. :D

ken4runner
08-03-2004, 11:51 AM
I was working on a similar problem and found a webpage that explains how to do a line break in the message body in a mailto tag...


http://www.ssi-developer.net/design/mailto.shtml


also, here is some info from microsoft on this topic:

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q251/2/30.asp&NoWebContent=1



hope this helps -
Ken

pyro
08-03-2004, 12:45 PM
Originally posted by ken4runner
hope this helpsIt may have, had it come 10 ½ months sooner. :rolleyes:

ken4runner
08-03-2004, 01:25 PM
a year is my standard turn-around time...

:)


better late than never, right?

steelersfan88
08-03-2004, 06:55 PM
... not in poker after a folded hand :)

Looks like it may come in handy, depite server-side emailing being more reliable.

andrew1234
08-04-2004, 10:15 AM
Thanks for the answer

Its a great help

Andrew

ken4runner
08-04-2004, 10:39 AM
welcome -

I'm usually the one asking the question, not the one giving the answer!

:)

-Ken:confused: