Re: libEtPan library
DINH Viêt Hoà <[email protected]> Sun, 10 Dec 2006 21:03:05 +0100
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
On Dec 10, 2006, at 6:13 PM, Virgil Trasca wrote: > Hi all, > > I am evaluating your mail library along with other mail > libraries for using it for SMTP&TLS/SSL on windows machines. I > found yours is a great library even if it is a little bit > complicated to use because is in C and not in C++ which is much > more intuitive and easy to start with. > > I have few questions and I will apreciate if you will answer me. > > 1) can I use libETPan for SMTP with TLS/SSL features for windows? I did not try myself TLS/SSL on windows. You have to know that it uses OpenSSL for that feature. So that if OpenSSL works correctly on Windows, TLS/SSL will be alright. I would just say give a try. Some people encountered problems while sending data (let's say over 16 Kbytes). Though, for SSL, you can see in data-types, mailstream.c mailstream_ssl.c mailstream_socket.c if you want to implement a ssl version that would use native API for Windows. > 2) do you have some samples for sending HTML mail(MIME) with your > libraries? I can send HTML mails with libEtPan? in libetpan/tests, you can find compose-msg.c to build MIME messages and smtpsend.c to send messages. etpanX is also a place where you can find some amount of example of use. checkout svn://dinh.dyndns.org/etpanX/trunk (using subversion) > 3) Can I build/statically link only SMTP part of you library? I > don't need others , I need only SMTP and I will prefer to include > just the SMTP part of your library. Is it possible? smtp part should depends only on src/data-types, you have to check. And yes, of course, you can link statically on the parts you need. though, if you want to send complex MIME message, you will need the libetpan/mime/ and libetpan/imf/ (RFC 822) parts. -- DINH Viêt Hoà ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV