On Sat, Jun 18, 2011 at 4:16 PM, jdrewsen <jdrewsen@nospam.com> wrote:
Den 18-06-2011 22:52, Jimmy Cao skrev:

Would an SMTP protocol struct be beneficial?

My immediate goal is to provide HTTP support and basic FTP support through libcurl. I believe these are the most important protocols to get in place in order to improve the adoption of D.

I have currently no plans of adding more protocols to the curl wrapper. Patches are welcome :)


Here's a crude implementation for supporting the SMTP protocol:
https://gist.github.com/1033711 

What do you think?
My biggest concern is whether SMTP protocol support would really be necessary within this module.