|
-
Dec 29th, 2003, 01:07 AM
#1
Thread Starter
Lively Member
Yahoo Mail
VB Code:
Option Explicit
Private Sub Command1_Click()
Winsock1.RemoteHost = "mx1.mail.yahoo.com"
Winsock1.RemotePort = 25
Winsock1.Connect
End Sub
Private Sub Winsock1_Connect()
Winsock1.SendData "USER anjanesh" & vbCrLf
DoEvents
Winsock1.SendData "PASS password" & vbCrLf
DoEvents
Winsock1.SendData "LIST" & vbCrLf
DoEvents
End Sub
Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
Dim TempString As String
Winsock1.GetData TempString
Debug.Print TempString
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
-
Dec 29th, 2003, 08:41 AM
#2
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 : 
-
Dec 29th, 2003, 11:05 AM
#3
Thread Starter
Lively Member
Trying out VB .NET 2005 Express
-
Mar 9th, 2005, 04:24 AM
#4
Thread Starter
Lively Member
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:
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
-
Mar 9th, 2005, 08:10 AM
#5
Re: Yahoo Mail
 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:
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 : 
-
Mar 9th, 2005, 08:18 AM
#6
Thread Starter
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|