Results 1 to 3 of 3

Thread: How to validate login for outlook

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2005
    Posts
    310

    How to validate login for outlook

    I wonder how can I validate my login account.
    I have an account here www.outlook.com
    How can validate my username and password if exist or successfully login using vb.net.
    I am coding simple smtp mail sender using vb.net, but first I want to validate my account before sending the email.
    Is there any idea or code snippet?
    VB 6.0 = "Self-Study" Then
    vb.NET = "Self-Study" Then
    C# = 'on going study.....

  2. #2
    Fanatic Member amrita's Avatar
    Join Date
    Jan 2007
    Location
    Orissa,India
    Posts
    888

    Re: How to validate login for outlook

    Try this for setting user credentials

    Code:
      Dim smtp As New System.Net.Mail.SmtpClient
    smtp.Credentials = New System.Net.NetworkCredential("username", "password")
    thanks
    amrita

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2005
    Posts
    310

    Re: How to validate login for outlook

    @amrita

    yeah I know that. but how can I check if that account is being successfully login to server?
    I just want to check if that username and password is being accepted by the server before I send the body of my email.
    VB 6.0 = "Self-Study" Then
    vb.NET = "Self-Study" Then
    C# = 'on going study.....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width