asp .net以高度信任的方式发送电子邮件 [英] asp .net Send email in high trust

查看:86
本文介绍了asp .net以高度信任的方式发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我在asp .net c#中有一个网站

我在这个网站上写了一个模块来发送电子邮件.
可以,但是在服务器上不起作用.服务器的管理员告诉我,更改支持高级信任的代码.我们的服务器上的coz对我没有完全信任.

你能帮我吗?
谢谢大家.

Hi i have a website in asp .net c#

i wrote a module in this website to send email.
it is ok but on server it dont work. The adinistrator of server told me that change your code that support high level trust. coz on our server there is no full trust for me.

Can u plz help me?
thank u all.

推荐答案

服务器的管理员告诉我,更改支持高级信任的代码.在我们的服务器上,因为我对我没有完全的信任.
这仅意味着必须为您必须使用的用户发送电子邮件,才能为其发送电子邮件.

因此,您要么告诉管理员,要么在允许"列表中添加该用户ID.这应该允许应用程序通过该服务器发送电子邮件.
The adinistrator of server told me that change your code that support high level trust. coz on our server there is no full trust for me.
This simply means that the user that you must be using in order to send emails must be given proper privileges.

Thus, either you do or tell your admin that add that user id in ''allow'' list. This should allow application to send emails through that server.


这篇关于asp .net以高度信任的方式发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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