Doesn't seem to be connecting! (General questions)
Hi,
I don't know why but pop doesn't seem to connecting for me anymore. This is the connection code I am using:
Public Function Login()
Select Case frmSettings.cboHost.Text
Case Gmail
With Smtp
.Login = frmSettings.txtUsername.Text
.Password = frmSettings.txtPassword.Text
.HostName = smtp.gmail.com
.Authentication = AuthLogin
.Security = SecurityImplicit
.Port = 465
.Blocking = True
On Error Resume Next
.Connect
End With
With Pop3
.Login = frmSettings.txtUsername.Text
.Password = frmSettings.txtPassword.Text
.HostName = pop.gmail.com
.Authentication = AuthAny
.Security = SecurityImplicit
.Port = 995
.Blocking = True
On Error Resume Next
.Connect
End With
Case Hotmail
With Smtp
.Login = frmSettings.txtUsername.Text
.Password = frmSettings.txtPassword.Text
.HostName = smtp.live.com
.Authentication = AuthLogin
.Security = SecurityImplicit
.Port = 25
.Blocking = True
On Error Resume Next
.Connect
End With
With Pop3
.Login = frmSettings.txtUsername.Text
.Password = frmSettings.txtPassword.Text
.HostName = pop.live.com
.Authentication = AuthAny
.Security = SecurityImplicit
.Port = 995
.Blocking = True
On Error Resume Next
.Connect
End With
'Only available with the premuim service
Case Yahoomail
With Smtp
.Login = frmSettings.txtUsername.Text
.Password = frmSettings.txtPassword.Text
.HostName = plus.smtp.mail.yahoo.com
.Authentication = AuthLogin
.Security = SecurityImplicit
.Port = 465 '25
.Blocking = True
On Error Resume Next
.Connect
End With
With Pop3
.Login = frmSettings.txtUsername.Text
.Password = frmSettings.txtPassword.Text
.HostName = plus.pop.mail.yahoo.com
.Authentication = AuthAny
.Security = SecurityImplicit
.Port = 995 '110
.Blocking = True
On Error Resume Next
.Connect
End With
End Select
frmMain.Caption = frmMain.Caption + + frmSettings.cboHost.Text
End Function
Using gmail I am able to send an email but connecting to pop seems to be taking longer than it should. Is it possible to retrieve the pop transcript or is that just for the smtp component?
Thanks,
Nightwalker
Complete thread:
- Doesn't seem to be connecting! - nightwalker83, 2010-08-21, 12:37
- Re: Doesn't seem to be connecting! - wodDamir, 2010-08-21, 13:24
- Re: Doesn't seem to be connecting! - nightwalker83, 2010-08-21, 14:00
- Re: Doesn't seem to be connecting! - wodDamir, 2010-08-21, 14:05
- Re: Doesn't seem to be connecting! - nightwalker83, 2010-08-22, 03:39
- Re: Doesn't seem to be connecting! - wodDamir, 2010-08-22, 13:33
- Re: Doesn't seem to be connecting! - wodDamir, 2010-08-22, 13:35
- Re: Doesn't seem to be connecting! - nightwalker83, 2010-08-23, 02:18
- Re: Doesn't seem to be connecting! - nightwalker83, 2010-08-27, 11:41
- Re: Doesn't seem to be connecting! - nightwalker83, 2010-08-23, 02:18
- Re: Doesn't seem to be connecting! - wodDamir, 2010-08-22, 13:35
- Re: Doesn't seem to be connecting! - wodDamir, 2010-08-22, 13:33
- Re: Doesn't seem to be connecting! - nightwalker83, 2010-08-22, 03:39
- Re: Doesn't seem to be connecting! - wodDamir, 2010-08-21, 14:05
- Re: Doesn't seem to be connecting! - nightwalker83, 2010-08-21, 14:00
- Re: Doesn't seem to be connecting! - wodDamir, 2010-08-21, 13:24