使用JAVA脚本发送电子邮件? [英] Send Email Using JAVA Script?

查看:73
本文介绍了使用JAVA脚本发送电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前在asp.net中创建了web应用程序,尝试使用脚本发送电子邮件,我不想使用Code Behind



请建议一些Artical,或者解决方案,如果可用

currently created web Application in asp.net , trying to send email using script, i don't want to use Code Behind

Please Suggest Some Artical , or Solution if avaliable

推荐答案

你不能真的这样做 - 它需要访问用户的默认电子邮件程序(如果安装了一个,并且不能保证)。它会使用用户的电子邮件地址,这将是一个安全漏洞。



您需要在后面的代码中执行此操作。
You can't really do that - it would require access to the user's default email program (if one is installed, and that's not guaranteed). And it would have go out using the users email address which would be a security breach.

You need to do this in the code behind.


这篇关于使用JAVA脚本发送电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆