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? --
[pmoha...@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 [pmoha...@localhost ~]$ ./a.outLocal 
file size: 17 bytes.* Protocol smtp not supported or disabled in libcurl* 
Unsupported protocol[pmoha...@localhost ~]$ --RegardsPrasanna Mohanty

> Date: Wed, 25 Aug 2010 04:24:03 -0500
> Subject: Re: error using smtp with libcurl
> From: [email protected]
> To: [email protected]
> 
> 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

Reply via email to