cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: error using smtp with libcurl

From: Prasanna Mohanty <mkprasanna_at_hotmail.com>
Date: Wed, 25 Aug 2010 23:08:43 +0000

I did the following inside curl-7.21.1 directory
--./configure --enable-smtpsudo make install
--From the command "curl --version" seems like my curl installation already supports smtpbut when I execute the compiled code I see the error. Did I miss any installation step? --
[pmohanty_at_localhost ~]$ curl --versioncurl 7.21.1 (i686-pc-linux-gnu) libcurl/7.21.1 OpenSSL/1.0.0 zlib/1.2.3 libidn/1.9Protocols: dict file ftp ftps http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp Features: IDN IPv6 Largefile NTLM SSL libz [pmohanty_at_localhost ~]$ ./a.outLocal file size: 17 bytes.* Protocol smtp not supported or disabled in libcurl* Unsupported protocol[pmohanty_at_localhost ~]$ --RegardsPrasanna Mohanty

> Date: Wed, 25 Aug 2010 04:24:03 -0500
> Subject: Re: error using smtp with libcurl
> From: yetanothergeek_at_gmail.com
> To: curl-library_at_cool.haxx.se
>
> On Tue, Aug 24, 2010 at 6:43 PM, Prasanna Mohanty wrote:
>
> > I see the following error while trying to test smtp to send mail.
> > --
> > * Protocol smtp not supported or disabled in libcurl
> > * Unsupported protocol
>
> This means your libcurl was built without smtp support.
>
> You should compile your libcurl with the configure option
> --enable-smtp if you want it to support smtp.
>
>
> - Jeff
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
                                               

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-26