How do I connect to Gmail using Rebex Mail or Rebex POP3 component?

asked 12 Jan '10, 14:18

Rebex%20KB's gravatar image

Rebex KB ♦♦
256312
accept rate: 78%

edited 15 Jan '10, 11:20

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.2k18


Gmail runs TLS/SSL secured POP3 server on pop.gmail.com, port 995. The following C# code demonstrates how to connect to it using Rebex Secure Mail or Rebex Secure POP3:

// connect and log in
Pop3 client = new Pop3();
client.Connect("pop.gmail.com", 995, null, Pop3Security.Implicit);
client.Login(email, password);

// process messagess...

// logount and disconnect
client.Disconnect();

For a complete example, see the following blogpost HOWTO: Download emails from a GMail account in C#

link

answered 12 Jan '10, 14:18

Rebex%20KB's gravatar image

Rebex KB ♦♦
256312
accept rate: 78%

edited 15 Jan '10, 11:23

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.2k18

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×33
×19

Asked: 12 Jan '10, 14:18

Seen: 1,425 times

Last updated: 15 Jan '10, 11:23