它的显示错误评论行参数无效,验证您正在使用的开关请给我解决方案。
解决方案Javascript不能发送电子邮件。您最好的选择是< a href =mailto:foo@bar>电子邮件我< / a> 语法。有一个约定,大多数浏览器支持,您可以设置各种属性的内容。
< a href = mailto:foo@bar?subject = Hi& body = hello%2C + there%21>电子邮件我< / a>它必须是URL编码,据我所知,没有可靠的方法通过HTML。您必须承担纯文本电子邮件。
I want to email a web page through javascript. Its enough to open the outlook new mail option. I try to move a Here i am using mailto: option in html. Actually i am try to create a dynamic email template and want to send that template in html format.
Its showing error "comment line argument is not valid. verify the switch you are using" please get me the solution.
解决方案Javascript can't send e-mails. Your best bet is the <a href="mailto:foo@bar">e-mail me</a> syntax. There is a convention that most browsers suppors that lets you set the contents of various attributes as well.
<a href="mailto:foo@bar?subject=Hi&body=hello%2C+there%21">e-mail me</a>It will have to be URL encoded, and as far as I know, there is no reliable way to pass HTML. You have to assume plain text emails.
更多推荐
通过javascript发送网页
发布评论