Results 1 to 6 of 6

Thread: Yahoo Mail

  1. #1

    Thread Starter
    Lively Member anjanesh's Avatar
    Join Date
    Nov 2002
    Location
    Nerul, Navi Mumbai, India
    Posts
    68

    Yahoo Mail

    VB Code:
    1. Option Explicit
    2. Private Sub Command1_Click()
    3. Winsock1.RemoteHost = "mx1.mail.yahoo.com"
    4. Winsock1.RemotePort = 25
    5. Winsock1.Connect
    6. End Sub
    7.  
    8. Private Sub Winsock1_Connect()
    9. Winsock1.SendData "USER anjanesh" & vbCrLf
    10. DoEvents
    11. Winsock1.SendData "PASS password" & vbCrLf
    12. DoEvents
    13. Winsock1.SendData "LIST" & vbCrLf
    14. DoEvents
    15. End Sub
    16.  
    17. Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
    18. Dim TempString As String
    19. Winsock1.GetData TempString
    20. Debug.Print TempString
    21. End Sub


    I don't understand the mx1 part but I think its varies - so how do I get it. This is what I get in the immediate window :

    Code:
    220 YSmtp mta102.mail.sc5.yahoo.com ESMTP service ready
    
    502 Command Unimplemented
    
    502 Command Unimplemented
    
    502 Command Unimplemented
    Can anyone help me out there. I have checked out the Winsock posts here but none are specified to yahoo mail.
    Thanks
    Last edited by anjanesh; Mar 9th, 2005 at 04:16 AM.
    Trying out VB .NET 2005 Express

  2. #2
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Hi,
    As far as i know, yahoo mail (free account) does not allow POP3 retrival. If you pay and become a primier account holder then they will allow you POP3 access.

    Danial
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  3. #3

    Thread Starter
    Lively Member anjanesh's Avatar
    Join Date
    Nov 2002
    Location
    Nerul, Navi Mumbai, India
    Posts
    68

    RESOLVED

    Thanks
    Trying out VB .NET 2005 Express

  4. #4

    Thread Starter
    Lively Member anjanesh's Avatar
    Join Date
    Nov 2002
    Location
    Nerul, Navi Mumbai, India
    Posts
    68

    Re: Yahoo Mail

    I know this post is over a yr old but when I used this some 1-2 yrs(?) ago it was having a bad look (BB look?) and not so active.
    Glad to know this forum is updated.
    This excellent.
    Back to it.
    BTW, now that Gmail is providing free POP and SMTP access does anyone know what to replace this with :
    VB Code:
    1. Winsock1.RemoteHost = "mx1.mail.yahoo.com"
    mail.gmail.com ? pop.gmail.com ?

    BTW, Why is this post in ASP thread ? It should be in Classical VB.
    Thanks
    Last edited by anjanesh; Mar 9th, 2005 at 04:28 AM.
    Trying out VB .NET 2005 Express

  5. #5
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877

    Re: Yahoo Mail

    Quote Originally Posted by anjanesh
    BTW, now that Gmail is providing free POP and SMTP access does anyone know what to replace this with :
    VB Code:
    1. Winsock1.RemoteHost = "mx1.mail.yahoo.com"
    mail.gmail.com ? pop.gmail.com ?

    BTW, Why is this post in ASP thread ? It should be in Classical VB.
    Thanks
    Its pop.gmail.com

    The outgoing server adress is smtp.gmail.com just incase you need it.
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  6. #6

    Thread Starter
    Lively Member anjanesh's Avatar
    Join Date
    Nov 2002
    Location
    Nerul, Navi Mumbai, India
    Posts
    68

    Re: Yahoo Mail

    Thank you.
    Gmail is simple I guess. Y! and others have some more chars infront.
    Trying out VB .NET 2005 Express

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