Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Dec 2005
    Location
    UK
    Posts
    207
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Body of mailto link...

    Hi

    Is there a way to prepopulate the body of an email message with formatted text, or even html???

    I have the basic code needed but this just puts in a single line of text.

    Code:
    <a href="mailto:something@something.com?subject=here is the subject line&body=blah blah blah">Link</a>
    I'm guessing, since I've been looking for a while, that there's no easy way.

    Any help would be appreciated... even it means i've got to learn asp or something!

    Thanks

  • #2
    New Coder
    Join Date
    Dec 2007
    Location
    UK
    Posts
    41
    Thanks
    1
    Thanked 7 Times in 7 Posts
    How about this:

    http://www.webmasterworld.com/javascript/3290040.htm

    It uses Javascript

  • #3
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    I've never had call to do this yet but there are several solutions found by google. All js it seems...
    see
    http://sin-memories.blogspot.com/200...ml-mailto.html
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •