Author |
|
gkumar Newbie
Joined: 24 June 2008 Location: India
Online Status: Offline Posts: 3
|
Posted: 24 June 2008 at 1:04am | IP Logged
|
|
|
Hi
I have Download MainBee.Net POP3 Trial version For Download mail using POP3 service but when i enter informaition (License Key, POP3 Server, POP3 UserName, POP3 Password) then it give error
related to
"SocketException Occured. Inner Exception Message Follows: A request to send or receivr data was disallowed because the socket is not connected and(when sending on a datagram socket using a sendto call) and no address was supplied 209.85.199.111:110"
can you help me to resolve this error
and can you tell me how can we config setting for use POP3 service
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 24 June 2008 at 3:23am | IP Logged
|
|
|
The error message says that the connection to the given address cannot be established. We have tried to access the server via telnet but were unable to connect to port 110.
We recommend you to try to access the same POP3 account via any email client (e.g. Outlook Express) installed on the same workstation/server your application is installed on.
With regard to POP3 settings, they generally look like this:
Code:
Pop3 pop = new Pop3();
pop.Connect("mail.domain.com");
pop.Login("jdoe", "secret"); |
|
|
You can find detailed samples how to implement Pop3 mail retrieval here:
http://www.afterlogic.com/mailbee_net/docs/MailBee.Pop3Mail. Pop3.html
And this is the list of Pop3 class members:
http://www.afterlogic.com/mailbee_net/docs/MailBee.Pop3Mail. Pop3Members.html
Check the Public Instance Properties section for the list of parameters you may need to configure.
Best regards,
Igor
|
Back to Top |
|
|
gkumar Newbie
Joined: 24 June 2008 Location: India
Online Status: Offline Posts: 3
|
Posted: 24 June 2008 at 4:56am | IP Logged
|
|
|
Hi
When i use Demo then i use following setting
Port 995
MailBee License Key MN200-10D8D83AD8E3D8E3D817C09DD4A3-6702
POP3 Server Name mail.gmail.com
Username:gkumar@advologix.com
password XXXXXXX
then it give error
error is"SocketException Occured. Inner Exception Message Follows: The request name is Valid, but no data of requested type was found"
can you help me to solve this error
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 24 June 2008 at 5:08am | IP Logged
|
|
|
The POP3 server name you specified is incorrect, it must be pop.gmail.com.
Be aware that Gmail requires SSL connection in order to access POP3/IMAP accounts.
You should use the following MailBee.NET demo: Programs > MailBee.NET Objects > Sample Applications > WinForms 2.0 > C# > SSL Demo > SSLDemo.exe
Best regards,
Igor
|
Back to Top |
|
|
gkumar Newbie
Joined: 24 June 2008 Location: India
Online Status: Offline Posts: 3
|
Posted: 24 June 2008 at 6:00am | IP Logged
|
|
|
Thanks for give me correct advice.
When i use same setting using SSLDemo.exe then it show Last Email but
when i use same setting with POP3Domo2.exe using pop.gmail.com server
then it shows error
"SocketException Occured. Inner Exception Message Follows: A connection attempt failed because connection party do not properly respond after a period of time ot establish connection failed because connection host has failed to respond"
can you help me to solve this error
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 24 June 2008 at 6:05am | IP Logged
|
|
|
Again, as Igor said, GMail permits SSL connections only. That's why you should use SSL demo, not plain POP3 demos.
Regards,
Alex
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 24 June 2008 at 6:10am | IP Logged
|
|
|
It is not possible to access Gmail POP3 without SSL. When you connect via SSL it is POP3 too, Gmail just doesn't allow non-secure connections.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 24 June 2008 at 6:15am | IP Logged
|
|
|
If you want to modify POP3 Demo 2 to make it work in SSL mode, you should find all places where BeginConnect gets called (2 occurrences) and change the port number from 110 to 995 there. Also, just before calling BeginConnect, set pop.SslMode = MailBee.Security.SslStartupMode.OnConnect
Regards,
Alex
|
Back to Top |
|
|