[Mono-dev] POP3 and .NET

Martin Ibarra mic at unixmexico.org
Thu Mar 11 01:52:59 EST 2010


this run on 2.4 or only on 2.6 , i try use this with mono 2.4

on the description for use

/// <summary>
    /// POP3 Client. Defined in RFC 1939.
    /// </summary>
    /// <example>
    /// <code>
    ///
    /// /*
    ///  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;
    ///            // ...
    ///        }
    ///    }
    /// </code>
    /// </example>


I try connect to gmail or other server with SSL

regards.




On Wed, Feb 24, 2010 at 2:41 AM, pfj <pjohnson1 at uclan.ac.uk> 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 at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100310/c2e2986e/attachment.html 


More information about the Mono-devel-list mailing list