Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   .NET Communications (http://www.xtremevbtalk.com/-net-communications/)
-   -   Yahoo email connect (http://www.xtremevbtalk.com/-net-communications/326042-yahoo-email-connect.html)

VB_Alien 06-09-2013 03:45 PM

Yahoo email connect
I've been playing around with a lot
of different code, that demonstrates
how to connect to mail servers.

Every one of them will connect to my isp
email account but none of them will connect
to my yahoo account.

I went one further and downloaded the mail.dll
email component and i'm even having the same
issue with a professionally coded email component.

Nothing will connect to yahoo, except for yahoo.

All i'm trying to do is make an email notifier that
lets me know when i have emails waiting on the server.

All i want to do is extract information about who the
email is FROM, Who the email was sent TO, the
SUBJECT and DATE and maybe even the SIZE of the
email and load that information into a listview control.

According to Limi Labs(makers of the mail.dll) port
110 is used when no SSL is used and port 995 when
SSL is used.

Anyway, the question isn't about the mail.dll but rather
about - if anyone else here has ever had trouble connecting
to a web server email like yahoo and if you have ever found
a work around for it?

I know vb net 2010, now is setup for pop3 and smtp email
service and i was wondering if anyone has ever used these
tools to connect to yahoo or any other web email service?

PlausiblyDamp 06-09-2013 05:13 PM

http://help.yahoo.com/kb/index?page=..._GB&id=SLN4724 gives the ports yahoo uses and it looks like it is required to use ssl for access.

Have you tried using an ssl connection to gain access rather than a normal one?

VB_Alien 06-09-2013 06:33 PM

Yes. I used an SSL connection on port 995
and it tells me something like i'm not
authorized to have access to that account.

I'm trying to contact Limi Labs to, to see
what they have to say about it.

I was just curious if anyone made a successful
connect to a web base email service, using VB
net code.

All the code that i tried, none of them would
connect to yahoo.

VB_Alien 06-09-2013 08:25 PM

Ok. Still using the mail.dll, i found out that
i always could connect to yahoo.

The problem is, the yahoo server won't accept
my user name and password.

The code sort of looks like this:

Pop3.Connect("pop.mail.yahoo.com", 995, True) ' True means use SSL connection

I put a message box here to tell me i was connected and
the code got that far.

The trouble starts with the next line of code, where i log in.

' pop3.Login("UserName@yahoo.com", "Password")

For some reason, the yahoo mail server won't accept my info
and the code hangs up.

I think i'll try some vb net code now, to see if i can connect
with that.


I just connected to yahoo, using someones pop3
class but i had the same results.

Yahoo will not accept my user name and password.

VB_Alien 06-10-2013 10:54 AM

Another Update:

I'm currently using poptray V 3.20 as my
email checker. It could only check isp email
and not web based email services. It did not
support SSL at all.

As luck would have it, i found a plug-in for
poptray that allowed me to connect with a
SSL connection and it is doing the same thing.

It says:

[AUTH] Access to the service is not permitted.

Although i can't see the code, it looks like i connect,
the server sees my user name and password and then
denies me access.

It's funny because i can log into yahoo just fine, from
my browser. Why would logging in from an app, make
that much difference as long as the protocols are correct
and your user info is correct?

I'm just venting. Don't look at the man behind the curtain.....

VB_Alien 06-10-2013 03:48 PM

I've tried many different apps and 2 professionally
made email components and all of them throw up
the same error.

So now, i'm left to assume that this is a yahoo problem
and i have written them to find an answer to my problem.

If i find out anything important, i'll post it here.

VB_Alien 06-11-2013 01:33 PM

It looks like yahoo support isn't going to help
me, or they would have written me back by now.

I did how-ever, find a program that will access web
based emails as well as an isp ones.

It's called POP Peeper, if anyone is interested.

All times are GMT -6. The time now is 12:08 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.