Pop3 connection with D
Andrei Alexandrescu (See Website For Email)
SeeWebsiteForEmail at erdani.org
Thu Mar 8 13:29:17 PST 2007
BCS wrote:
> Roger wrote:
>> Hello i'm student of College of Engineering Informatics in Fribourg
>> Switzerland.
>>
>> For a semester project i want to create a E-mail client with D.
>>
>> Anyone can help me to know how to create a pop3 and smtp connection
>> with D?
>> I have searched a lot but i found only a dead reference:
>> http://www.digitalmars.com/d/archives/digitalmars/D/22349.html
>>
>> Tanks a lot, bye, Roger
>
> As with a lot of D you might (but not nessisaraly) have to roll your
> own. SMTP isn't that bad (I've used it by hand in telnet). I expect pop
> would be about the same. IIRC there /is/ a lib out there for SMTP.
>
> If you feel "nerdy" enough you can just read the RFC's <G>
>
> pop3
> http://tools.ietf.org/html/rfc1939
>
> SMTP
> http://tools.ietf.org/html/rfc2821
Possibly implementing protocols could be an area in which DSLs might
help, e.g. in the guise of automata and of course regex. I once designed
a little DSL for implementing FTP and it was of great help.
Andrei
More information about the Digitalmars-d
mailing list