|
-
Aug 8th, 2002, 06:03 AM
#1
Thread Starter
Lively Member
mailto
Hi,
When adding a mailto link to a page I need to have a to, subject and body fields with text in.
I have all three working with:
<a href="mailto:[email protected]?Subject=thisisatest&body=blah blah blah">email</a>
The thing is I need to apply a <br> type command to the body text as it all appears on one line and I need like two paragraphs...
Can anyone help pls?
TIA !
housey
-
Aug 8th, 2002, 09:02 AM
#2
Frenzied Member
I think you can use %0D%0A for new lines. Also when you have spaces in an e-mail make sure you replace them with %20 as some browsers don't like spaces.
-
Aug 8th, 2002, 09:07 AM
#3
Thread Starter
Lively Member
thanx !
Thanx for your reply Rick but %0D%0A didn't work. I used:
<a href="mailto:[email protected]?Subject=thisisatest&body=blah blah blah %0D%0A blah blah">email</a>
I that correct?
Also do u know how to inlcude a 'from' field?
Thanks again !!
-
Aug 8th, 2002, 09:56 AM
#4
Frenzied Member
Oh sorry, I know I've got it to work before, and I was sure it was that. I'll try to figure it out. I don't think you can change the from field as that's determined by the user's e-mail client's settings, I could be wrong though.
-
Aug 8th, 2002, 12:33 PM
#5
Hyperactive Member
0D 0A is the hexadecimal value for carrige return line feed
i tried it to make sure and it does work
are you sure you are using 0 (number) and not O (letter)?
bsw2112
-
Aug 8th, 2002, 02:02 PM
#6
Frenzied Member
I found him on another forum and he said it does work, just not on his computer (at least I think it's him, either that or someone's coping him ).
-
Aug 8th, 2002, 02:15 PM
#7
Hyperactive Member
-
Aug 9th, 2002, 03:35 AM
#8
Thread Starter
Lively Member
Thanks guys !
YES it was me on the other forum !
It is working now.... shame about the 'from' field... i'll just have to do it in server script which is a bummer as I wanted to keep it all html/java...
THANKS !!!
Tim
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|