[Gambas-devel] [RFC] Gambas implementation of the pop3 protocol
Sebi
sebikul at ...176...
Mon Aug 27 01:03:53 CEST 2012
This already exists, maybe rename Send() to Exec(). It also takes an optional parameter to choose between Single-line and Multi line responses, which are handled differently.
-----Original Message-----
From: Benoît Minisini <gambas at ...1...>
Date: Mon, 27 Aug 2012 00:57:56
To: mailing list for gambas developers<gambas-devel at lists.sourceforge.net>
Reply-To: mailing list for gambas developers
<gambas-devel at lists.sourceforge.net>
Subject: Re: [Gambas-devel] [RFC] Gambas implementation of the pop3 protocol
Le 27/08/2012 00:24, Sebastian Kulesz a écrit :
>
> It's ridiculous to make Stat private. Why should we hide a pop command
> from the developer? I also prefer to let the developer choose how to
> access the POP commands, either by methods or by using the _get
> _POPMessage instance (we may also implement some type of caching
> here). This may change too
>
The way it is done in FtpClient is:
- An higher interface like the one I described you for Pop3Client.
- An Exec() method that allows to send FTP command directly.
I think you can do the same. For people who want an access to the POP3
protocol, an Exec() method that takes the POP3 command as a string.
Of course, you still have to handle the difference between one-line
answer and multi-line answer!
Regards,
--
Benoît Minisini
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel
More information about the Devel
mailing list