How can I create ImapClient object in C# and authorize in mail box

Sep 17, 2014 at 10:42 AM
using HigLabo.Net.Mail;
...
ImapClient cl = new ImapClient("imap.gmail.com");

but "The type or namespace name 'ImapClient' could not be found"

Please show me example C# code which demonstrate connect to mail box.
Coordinator
Sep 17, 2014 at 11:09 PM
Hi.

Please add namespace to HigLabo.Net.Imap.
And sample is here.
http://library.higlabo.com/Document/Mail/Index.html
http://library.higlabo.com/Document/Mail/Imap.html

regards.
Sep 18, 2014 at 2:52 AM
Thanks, higty

but

using HigLabo.Net.Imap;

cause compile Error: The type or namespace name 'Imap' does not exist in the namespace 'HigLabo.Net' (are you missing an assembly reference?)

I think incorrect inslall library to project references to C# project in Visual Studio 2012. My project base on .Net Frameword 4.0
Please help me valid install HibLabo library.
I have library folders:
HigLabo
HigLabo3.5
HigLabo4.0
HigLaboPcl
HigLaboWinRT

What among these need copy to my project folder?
Coordinator
Sep 18, 2014 at 3:17 AM
Hi.

Download DLL from here.
https://higlabo.codeplex.com/releases/view/132346
And add reference HigLabo4.0/HigLabo.Mail.dll to your project.

Is it solve your problem?
Sep 18, 2014 at 4:03 AM
No.
I deleted all references to HigLabo.dll's and added only HigLabo.Mail.dll reference.

using HigLabo.Net;
using HigLabo.Net.Mail;
using HigLabo.Net.Imap;

but

ImapClient cl = new ImapClient("imap.gmail.com");

cause compile error
The type 'HigLabo.Net.SocketClient' is defined in an assembly that is not referenced. You must add a reference to assembly 'HigLabo.Net, Version=1.3.8.0, Culture=neutral, PublicKeyToken=null'
Coordinator
Sep 18, 2014 at 5:43 AM
Hi.

Please add
HigLabo.Converter.dll ver3.5
HigLabo.Mime.dll ver3.5
HigLabo.Net.dll ver4.0
HigLabo.Mail.dll ver4.0

It may solve your problem.

regards.
Sep 18, 2014 at 7:25 AM
Thanks, higty!

Yes, problem solved.
Where I can find native installation documentation?
Its exists?
Coordinator
Sep 18, 2014 at 8:13 AM
Thank you for your reporting here.
Installation document does not exist, and just now I noticed that it is missing.
I'll add documentation at http://library.higlabo.com/Document/Mail/Index.html about installation.

sincerely