Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900