Search
 
SCRIPT & CODE EXAMPLE
 

HTML

link to send email with subject

<a href="mailto:someone@yoursite.com?
         cc=someoneelse@theirsite.com, 
         another@thatsite.com, 
         me@mysite.com&
         bcc=lastperson@theirsite.com&
         subject=Big%20News&
         body=Body-goes-here
">Email Us</a>
Comment

add subject and body to email link

<!--
	You can add a subject/body to a mailto: link by using ?subject= or ?body=
	If you need to use both, then ensure the second param is postfixed with 
	"&" instead of "?"

	Here are a few examples:
-->

<!-- Add a subject -->
<a id="linktoemail" href="mailto:test@test.com?subject=This%20is%20a%20subject">Click here to trigger email</a>

<!-- Add a body -->
<a id="linktoemail" href="mailto:test@test.com?body=This%20is%20the%20body%20text">Click here to trigger email</a>

<!-- Add a subject and a body -->
<a id="linktoemail" href="mailto:test@test.com?subject=This%20is%20a%20subject&body=This%20is%20the%20body%20text">Click here to trigger email</a>
Comment

PREVIOUS NEXT
Code Example
Html :: start html 
Html :: ck editor cdn 
Html :: auto update copyright year javascript 
Html :: json placeholder limit 
Html :: how to create a button in html 
Html :: source sans pro html code 
Html :: download ebook free 
Html :: markdown new page 
Html :: target blank 
Html :: how to add an audio in html 
Html :: tailwind css background image 
Html :: html tabulation 
Html :: js add class when hover 
Html :: function to do when the html done loading 
Html :: How can I change the color of one word in HTML? 
Html :: html form select 
Html :: laravel csrf fields 
Html :: textarea angular onfocus 
Html :: linked image html 
Html :: empty link html 
Html :: html no drag image 
Html :: how to quote stuf in htl 
Html :: How do you require 8-digit password in an input 
Html :: HTML Table Padding & Spacing 
Html :: link new tab html 
Html :: borderless bootstrap table 
Html :: iframe maps 
Html :: details summary html5 
Html :: open new tab href 
Html :: jQuery script tag to include into HTML 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =