I would like to send mails from my localhost. I am connected to internet through my institute's proxy(HTTP) which requires authentication. Is it possible to use cURL to send mails, because so far i've seen it fetching webpages only. If not so, could you please specify any other alternatives? Any help开发者_开发百科 is greatly appreciated!!
Thanks!
If you need to send mails using a web interface, you can script curl to use the proxy and the web site: http://curl.haxx.se/docs/httpscripting.html
If you want to use SMTP, curl can do that too. It might however not be the best tool out there for sending emails.
I don't think anyone truly access SMTP through HTTP proxy even if I think you can for example tunnel through a HTTP proxy (with CONNECT) using curl if you really want to.
精彩评论