Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to create SmtpClient due to missing permissions.
Message
 
To
11/03/2011 14:28:03
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01503393
Message ID:
01503426
Views:
99
What environment are you running in? In a Web Server? Low permissions environment? Across a network?

It's an infrastructure problem...

You can also use nMailMode = 2

which doesn't use the .NET features, but raw Win32 socket code. It doesn't do a few things like SSL/TSL connections to a server however - for that you need nMailMode = 0.

+++ Rick ---

>Hello.
>
>We recently switched from MAPI to SMTP to send email. Now on one of our customers computers we get the error message:
>
>Unable to create SmtpClient due to missing permissions. If you are using a port other than 25 for your email server, SmtpPermission has to be explicitly added in Medium Trust.
>
>Has anyone else seen this and how can I fix this?
>
>Thanks!
>
>-Greg
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform