普通のmailtoリンク
<a hef=”mailto:user@example.com”>メールする</a>
CCを指定
<a hef=”mailto:user@example.com?cc=hoge@hoge.com”>メールする</a>
複数指定する場合は,(カンマ)区切り
<a hef=”mailto:user@example.com?cc=hoge@hoge.com,foo@bar.com,test@test.com”>メールする</a>
件名を指定
<a hef=”mailto:user@example.com?subject=メールリンクのテスト”>メールする</a>
本文を指定
<a hef=”mailto:user@example.com?body=ここにメールの本文が入ります”>メールする</a>
CC、件名、本文を指定
複数指定する場合は&で繋げます。
<a hef=”mailto:user@example.com?cc=user@example.com,foo@bar.com&subject=メールリンクのテスト&body=ここにメールの本文が入ります”>メールする</a>
例:メールする
値はパーセントエンコードした方が良いですね。