Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to create SmtpClient due to missing permissions.
Message
 
À
11/03/2011 14:28:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01503393
Message ID:
01503426
Vues:
100
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform