NetworkCredential class question

Last post 06-17-2009 10:22 AM by jagjot. 3 replies.

Sort Posts:

  • NetworkCredential class question

    06-17-2009, 5:30 AM
    • Member
      17 point Member
    • skiabox
    • Member since 11-11-2007, 8:04 AM
    • Posts 177

    Is there any way I can use NetworkCredential class feeding it with a username only and not with a password?

    Thank you very much!

  • Re: NetworkCredential class question

    06-17-2009, 6:02 AM
    • Participant
      1,399 point Participant
    • jagjot
    • Member since 10-19-2006, 5:02 AM
    • United Kingdom
    • Posts 746

    what is that you are trying to achieve. Will be usefull to know, to point you into right direction..

    Jagjot Singh
    MCP, CCNA
  • Re: NetworkCredential class question

    06-17-2009, 9:56 AM
    • Member
      17 point Member
    • skiabox
    • Member since 11-11-2007, 8:04 AM
    • Posts 177

    I am building an asp.net application and I want to be able to send email using this application.

    I have just setup the iis7 smtp server which is waiting for an anonymous connection from the same machine that the application resides (127.0.0.1) so I want to be able to send email without using a username and password.

     Thank you very much for your immediate response!

    Smile

  • Re: NetworkCredential class question

    06-17-2009, 10:22 AM
    Answer
    • Participant
      1,399 point Participant
    • jagjot
    • Member since 10-19-2006, 5:02 AM
    • United Kingdom
    • Posts 746

    I dont think you need to pass any network credentials to run your email code on your server. Can you post your code?

    Jagjot Singh
    MCP, CCNA
Page 1 of 1 (4 items)