On Fri, 12 Nov 2010, 牟林海 wrote:
but when i use "smtp://smtp.gmail.com" , it shows like this:
* Protocol smtp not supported or disabled in libcurl
* Unsupported protocol
n...@nms-desktop:~/work/test/curl$ curl --version
curl 7.21.1 (i686-pc-linux-gnu) libcurl/7.21.1 zlib/1.2.3.3 libidn/1.15
Protocols: dict file ftp http imap ldap pop3 rtsp smtp telnet tftp
Features: IDN IPv6 Largefile libz
Then you probably have two libcurls installed. One older version that your app
seems to link against and one newer that your command line tool uses...
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html