How do you properly construct a mailto: link without the part.
mailto:[email protected]?
I dont want the address and just want whats in the parameters afterward to be filled in through the mailto.
views:
67answers:
4
                
                A: 
                
                
              You can use mailto in this way
<a href="mailto:[email protected]?subject=Subject&cc=CC&bcc=BCC&body=BODY">Clickme!</a>
                  rlbisbe
                   2010-08-22 08:07:08
                
              The question specifically asked for it without the address, and that HTML is invalid.
                  David Dorward
                   2010-08-22 08:20:49
                Should I delete the answer then? I'm new in the site
                  rlbisbe
                   2010-08-22 08:33:02
                
                  
                  Erik
                   2010-08-22 08:47:32
                
                Thanks for the clue, corrected.
                  rlbisbe
                   2010-08-22 08:55:10
                
                +1 
                A: 
                
                
              You can't.
The purpose of a mailto: URI is to describe an email address. The stuff for filling in other headers was tacked on later.
There is no standard way to launch an email client with a specified subject, body, etc without specifying the email address.
                  David Dorward
                   2010-08-22 08:20:12
                
              is there a "non-standard" way? I'm trying all sorts of things with special characters. Testing a mailto: link in Firefox to Gmail. Basically I want it to skip down to the subject area, leaving the (to) field empty with no characters or spaces.
                  egfx
                   2010-08-22 09:30:21
                
                
                A: 
                
                
              
            You probably cannot omit the e-mail address.
However, you could put in an e-mail address that is clearly invalid, such that the user will know to replace it; you could for example use one of the reserved TLDs .example, .invalid, or .test.
                  stakx
                   2010-08-22 08:24:43