2012年9月13日 星期四
[HTML] set subject / body / cc of email
<a href="mailto:email@address.com> mail to me </a>
如果想係 email 加入 subject, content, cc, bcc 的話 :
mailto: email@host.com?subject=something
mailto: email@host.com?body=something
mailto: email@host.com?cc=otheremail@address.com
mailto: email@host.com?bcc=anotheremail@address.com
一次過用符號(&)串埋晒佢就會變成
<a href="mailto:email@address.com
?subject=Hello world
&body=Line one</br>Line two
&cc=anotheremailaddress@anotherdomain.com
&bcc=onemore@anotherdomain.com">
訂閱:
文章 (Atom)