[Gambas-devel] About gb.net.pop3

Sebastian Kulesz sebikul at ...176...
Sat Sep 1 07:26:00 CEST 2012


On Fri, Aug 31, 2012 at 10:48 PM, Benoît Minisini
<gambas at ...1...> wrote:
> Le 31/08/2012 20:17, Benoît Minisini a écrit :
>>
>> You decided to not use gmime. OK. But so you have to be very careful
>> when following the MIME specs, otherwise many of mails will be
>> unreadable. I know what I am talking about with gb.net.smtp whose code
>> is not mine at the beginning...
>>
>> As for the interface : MIME is hierarchical, so you have to implement
>> different classes with some begin containers MIME parts, and other
>> contents MIME parts. You can look at gmime to know what to do, and
>> simplify their structure if you can.
>>
>> Regards,
>>
>
> Reading the gmime library documentation, I finally think it's a bad idea
> to try to reimplement Mime message parsing in Gambas.
>
> How could you write something complete and not full of bugs when you
> have thirty-two RFCs to implement?
>
> So I will start writing a gmime component as soon as possible, and tell
> you how to use it.
>
> 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

Yeah, i think that's the best approach. They are not hard to implement
(just text parsing) but they are really long. I would offer my help,
but i know little about C and the Gambas API.

I will start writing an IMAP implementation to complete the .mail component ;-)




More information about the Devel mailing list