Monday, March 10, 2014

HTML: Mailto Body Formatting

If you would like to embed your desired Subject line and sample message body from mailto/hyperlink, see a sample below:

mailto:someone@domain.com?subject=Subject%20Line&body=Sample%20message%0D%0ANext%20line
  • %20 - space
  • %0D%0A - enter/next line
Hope this helped!

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.