Author: raviparams | Posted on: 2/24/2009 6:29:00 PM | Views : 284

I have the below code in web.config :

<identity impersonate="true" />

Problem :  I am sending a mail from my application. While sending a mail it works fine. I am attaching a file with that mail. file is located in the shared folder \\shared\mailcontent\Files\. Its works fine in my local server. When I deploy the application on test server it gives "Logon failure: unknown user name or bad password."   [IOException: Logon failure: unknown user name or bad password. (if i am not attaching a file it works fine).

If i use the user name / passw ...

Go to the complete details ...