Re: [Mono-dev] POP3 and .NET

2010-03-10 Thread Martin Ibarra
this run on 2.4 or only on 2.6 , i try use this with mono 2.4

on the description for use

/// 
/// POP3 Client. Defined in RFC 1939.
/// 
/// 
/// 
///
/// /*
///  To make this code to work, you need to import following namespaces:

///  using LumiSoft.Net.Mime;
///  using LumiSoft.Net.POP3.Client;
///  */
///
/// using(POP3_Client c = new POP3_Client()){
///c.Connect("ivx",
WellKnownPorts.POP3);
///c.Authenticate("test","test",true);
///
///// Get first message if there is any
///if(c.Messages.Count > 0){
///// Do your suff
///
///// Parse message
///Mime m = Mime.Parse(c.Messages[0].MessageToByte());
///string from = m.MainEntity.From;
///string subject = m.MainEntity.Subject;
///// ...
///}
///}
/// 
/// 


I try connect to gmail or other server with SSL

regards.




On Wed, Feb 24, 2010 at 2:41 AM, pfj  wrote:

>
> Hi,
>
> I have a good reason for not wanting to use an additional library in this
> case and regarding the POP3 stuff, it is using the standard libraries from
> a
> reliable source online [so it's not mine and the same applies with the SSL
> stuff. I know it works - when I look at the debugger code in the Connect,
> everything is responding correctly]).
>
> As for not caring about other libraries - that is simply not true. I'm more
> than happy to use other libraries if I can't get the .NET ones to do what I
> need them to do (for example, using something like Tao makes sense over the
> .NET native libs for certain things). While POP3 is not supported in the
> same way as SMTP, it can still be achieved using the standard libs.
>
> The code is also not really incomplete. The full POP3 implementation with
> SSL is posted as is the driver code. The only thing not there is a listbox
> in a winform. I have been trying to get this code working for a day or so
> now and no matter what I do to try and get it working, nothing gives - it
> hangs in the same place (retrieving the headers). I can't find an answer
> elsewhere either for this.
>
> Current idea is to instantate the SslStream and pass that back and forth.
> Makes no difference - still hangs.
>
> Thanks though for your comments and as and when I find bugs, I do tend to
> put them onto the Novell BZ system.
>
> TTFN
>
> Paul
>
>
> --
> View this message in context:
> http://n4.nabble.com/POP3-and-NET-tp1564517p1567280.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> ___
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] POP3 and .NET

2010-02-24 Thread pfj

Hi,

I have a good reason for not wanting to use an additional library in this
case and regarding the POP3 stuff, it is using the standard libraries from a
reliable source online [so it's not mine and the same applies with the SSL
stuff. I know it works - when I look at the debugger code in the Connect,
everything is responding correctly]).

As for not caring about other libraries - that is simply not true. I'm more
than happy to use other libraries if I can't get the .NET ones to do what I
need them to do (for example, using something like Tao makes sense over the
.NET native libs for certain things). While POP3 is not supported in the
same way as SMTP, it can still be achieved using the standard libs.

The code is also not really incomplete. The full POP3 implementation with
SSL is posted as is the driver code. The only thing not there is a listbox
in a winform. I have been trying to get this code working for a day or so
now and no matter what I do to try and get it working, nothing gives - it
hangs in the same place (retrieving the headers). I can't find an answer
elsewhere either for this.

Current idea is to instantate the SslStream and pass that back and forth.
Makes no difference - still hangs.

Thanks though for your comments and as and when I find bugs, I do tend to
put them onto the Novell BZ system.

TTFN

Paul


-- 
View this message in context: 
http://n4.nabble.com/POP3-and-NET-tp1564517p1567280.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] POP3 and .NET

2010-02-24 Thread Robert Jordan
On 24.02.2010 11:08, pfj wrote:
>
> Hi,
>
> Thanks. I'm trying to avoid additional libraries and stick the .NET native
> ones for this project. I do have an additional problem, but I've posted that
> in another thread.

Why are you using an extensible framework like mono if you don't
care about libraries? The 217 existing POP3 libraries around
were probably written by people who actually understand POP3.

Please debug  your code yourself and if you find a mono related
problem please file a bug.

Dropping a pile of incomplete code and expecting someone else
to debug it is just impolite, as is posting your off-topic
request twice.

Robert

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] POP3 and .NET

2010-02-24 Thread pfj

Hi,

Thanks. I'm trying to avoid additional libraries and stick the .NET native
ones for this project. I do have an additional problem, but I've posted that
in another thread.

TTFN

Paul
-- 
View this message in context: 
http://n4.nabble.com/POP3-and-NET-tp1564517p1567230.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] POP3 and .NET

2010-02-22 Thread Damien
Hi,

If you want to do pop3 (and mail related) communication, you can take a look
at Lumisoft Net library :
http://www.lumisoft.ee/lsWWW/Download/Downloads/Net/

There are Pop3 server and client classes, with mail handling classes...

Have fun ;)

Damien

2010/2/22 pfj 

>
> Hi,
>
> Is pop3 supported in any of the native .NET/mono libraries? I've googled
> around and found them on Server2003 namespaces (microsoft.server.bistalk)
> but nowhere else.
>
> TTFN
>
> Paul
> --
> View this message in context:
> http://n4.nabble.com/POP3-and-NET-tp1564517p1564517.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> ___
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list