Javascript MailTo

//<a href=”mailto:leon.nerr@gmail.com”>Email</a>
window.location.href=”mailto:leon.nerr@gmail.com”;
myform.action=”mailto:leon.nerr@gmail.com”;

另email可以自己带一些功能,可以直接使用
1>mailto:leon.nerr@gmail.com,leon@nerrsoft.com
2>用”?” 和”&”链接一些参数
href=mailto:leon.nerr@gmail.com?cc=leon@nerrsoft.com&bcc=admin@nerrsoft.com&subject=title&body=test


抄送(CC=)地址用(分号|逗号)隔开
密抄(BCC=)地址用(分号|逗号)隔开
Subject:邮件标题
Body:邮件内容(不支持html)

Comments (0)

› No comments yet.

Leave a Reply

Allowed Tags - You may use these HTML tags and attributes in your comment.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

 :wink:  :-|  :-x  :twisted:  :)  8-O  :(  :roll:  :-P  :oops:  :-o  :mrgreen:  :lol:  :idea:  :-D  :evil:  :cry:  8)  :arrow:  :-?  :?:  :!:

Pingbacks (0)

› No pingbacks yet.