Hi,
It seems imap is an un(der)documented feature of SST ;-) Does anyone have a few code snippets or hints and tips for imap with VAST? Joachim -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
So IMAP is a white area on VAST users' map?
-- Am Donnerstag, 30. Oktober 2014 17:01:45 UTC+1 schrieb Joachim Tuchel: Hi, You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
4 years ago, I was interested in using IMAP in order to receive and manage mail messages. The Server Smalltalk Guide still has very litte to say about IMAP. I've taken a quick look at EMan, but it seems to only support POP3, which is not enough for my needs. Has anybody used Sst for IMAP? Joachim Am Dienstag, 11. November 2014 14:04:18 UTC+1 schrieb Joachim Tuchel:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
We had a look at implementing IMAP into SocketSet but it is very complicated with a lot of messages back and forth so we left it out. It is not easy so beware.
-- David On Friday, June 15, 2018 at 9:12:51 AM UTC+1, Joachim Tuchel wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout.
David
Totally Objects Doing Smalltalk since 1989 |
David, this doesn't sound very encouraging ;-) So maybe I'll have to spend a few sleepless nights on implementing my minimally-needed subset of IMAP. I found a few tutorials on the web that show how easy it is to talk IMAP using cURL. Unfortunately, the windows version of cURL doesn't support the imap or imaps protocol. So as long as we develop on windows and deploy to Linux and VAST on Linux is a bit 'unfriendly' to its users, it seems like this doesn't actually work. So there is this third option which : use a cron/bash script with cURL on the deployment and test machines and just emulate this on our dev machines. Maybe it's even time to add another programming language to our mix, like Python, which runs an all platforms and is much better in such 'internet basics'... Joachim Am Dienstag, 19. Juni 2018 16:10:36 UTC+2 schrieb Totally Objects:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Sure about this ?
-- Marten Am Donnerstag, 21. Juni 2018 08:40:13 UTC+2 schrieb Joachim Tuchel:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Marten, at least the versions doanloadable from curl.haxx.se as well as the version shipping with Win10 say so... :-) Inspired by your question I tried downloading the very latest binary distro curl-7.60.0-win64-mingw with SSL enabled. When I try the same cURL command that works on Linux: curl --url 'imaps://imap.xyz.de/INBOX?ALL' --user "[hidden email]:MyPW“ I always get curl: (1) Protocol "'imaps" not supported or disabled in libcurl I don't have the tool chain to build my own binary for Windows, especially if I have no idea if there isn't a (good?) reason for disabling imap on Windows. Do you know of or have a binary cURL distribution on Windows that can do IMAP? Joachim Am Donnerstag, 21. Juni 2018 09:28:52 UTC+2 schrieb Marten Feldtmann:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Marten. things get stranger and more interesting... I tried curl -V and look what it says: curl 7.60.0 (x86_64-pc-win32) libcurl/7.60.0 OpenSSL/1.1.0h (WinSSL) zlib/1.2.11 brotli/1.0.4 WinIDN libssh2/1.8.0 nghttp2/1.32.0 Release-Date: 2018-05-16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp Features: AsynchDNS IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz brotli TLS-SRP HTTP2 HTTPS-proxy MultiSSL So maybe your question and this answer from cUrl just means I need to play with Paths and stuff a little more and brush the dust off my faded and aged Windows knowledge... Joachim Am Donnerstag, 21. Juni 2018 12:22:19 UTC+2 schrieb Joachim Tuchel:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
... same results with curl-7.60.0-win32-mingw ... so not a 64/32 bit issue. Am Donnerstag, 21. Juni 2018 12:27:20 UTC+2 schrieb Joachim Tuchel:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
I hate when this happens. Once again it is my own stupidity or ignorance. If I change from curl --url 'imap://...' to curl imap://... all is fine on Windows... So thanks Marten for asking this provocative answer. Helped me switch on my brain ;-) Seems like an external call to curl will be my no.1 alternative You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
So, this means, you could work on my
wrapper around libCurl ?
Marten Am 21.06.2018 um 14:22 schrieb Joachim Tuchel:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by jtuchel
I solved availability of dozens unix/linux utilities (curl, wget, sqlite3, rsync, git, mercurial, make...) on Windows 10 by installing "Windows Bash Shell":
https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/ In fact, it's not only a "bash shell", but a complete distribution based probably on Debian/Ubuntu. There's almost everything! pf > Marten, > > at least the versions doanloadable from curl.haxx.se as well as the version > shipping with Win10 say so... :-) > > Inspired by your question I tried downloading the very latest binary distro > curl-7.60.0-win64-mingw with SSL enabled. When I try the same cURL command > that works on Linux: > > curl --url 'imaps://imap.xyz.de/INBOX?ALL' --user "[hidden email]:MyPW“ > > I always get > > curl: (1) Protocol "'imaps" not supported or disabled in libcurl > > > I don't have the tool chain to build my own binary for Windows, especially > if I have no idea if there isn't a (good?) reason for disabling imap on > Windows. > > Do you know of or have a binary cURL distribution on Windows that can do > IMAP? > > > Joachim > > > > Am Donnerstag, 21. Juni 2018 09:28:52 UTC+2 schrieb Marten Feldtmann: > > > > Sure about this ? > > > > Marten > > > > Am Donnerstag, 21. Juni 2018 08:40:13 UTC+2 schrieb Joachim Tuchel: > > > > > >> Unfortunately, the windows version of cURL doesn't support the imap or > >> imaps protocol. > >> > >> > >> > > -- > You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. > To post to this group, send email to [hidden email]. > Visit this group at https://groups.google.com/group/va-smalltalk. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
sounds interesting. Did you try calling out to these from VAST?
-- Am Donnerstag, 21. Juni 2018 20:26:01 UTC+2 schrieb Petr Fischer: I solved availability of dozens unix/linux utilities (curl, wget, sqlite3, rsync, git, mercurial, make...) on Windows 10 by installing "Windows Bash Shell": You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Marten Feldtmann-4
not yet - we're still on VAST 8.6.3 and Win/Lin 32 bits. If I understand the comments on VASTGoodies correctly, this is 64 bits. I hope we'll soon go to 9.1 - which I've heard great things about and am eager to see in Cagliari this year! Am Donnerstag, 21. Juni 2018 19:31:49 UTC+2 schrieb Marten Feldtmann:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by jtuchel
Yes, you can call internal Linux binaries from outside the Windows 10 Bash Shell:
https://www.howtogeek.com/262086/how-to-run-linux-commands-from-outside-the-bash-shell-on-windows-10/ So, from VAST (or Windows cmd, or WIndows batch file), you can call: bash -c "curl https://google.com" bash -c "git --help" bash -c "apt-get install python" etc. and voila... still unbelievable for me... pf > sounds interesting. Did you try calling out to these from VAST? > > Am Donnerstag, 21. Juni 2018 20:26:01 UTC+2 schrieb Petr Fischer: > > > > I solved availability of dozens unix/linux utilities (curl, wget, sqlite3, > > rsync, git, mercurial, make...) on Windows 10 by installing "Windows Bash > > Shell": > > > > https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/ > > > > In fact, it's not only a "bash shell", but a complete distribution based > > probably on Debian/Ubuntu. > > There's almost everything! > > > > pf > > > > > > > Marten, > > > > > > at least the versions doanloadable from curl.haxx.se as well as the > > version > > > shipping with Win10 say so... :-) > > > > > > Inspired by your question I tried downloading the very latest binary > > distro > > > curl-7.60.0-win64-mingw with SSL enabled. When I try the same cURL > > command > > > that works on Linux: > > > > > > curl --url 'imaps://imap.xyz.de/INBOX?ALL' --user "[hidden email]:MyPW“ > > > > > > I always get > > > > > > curl: (1) Protocol "'imaps" not supported or disabled in libcurl > > > > > > > > > I don't have the tool chain to build my own binary for Windows, > > especially > > > if I have no idea if there isn't a (good?) reason for disabling imap on > > > Windows. > > > > > > Do you know of or have a binary cURL distribution on Windows that can do > > > IMAP? > > > > > > > > > Joachim > > > > > > > > > > > > Am Donnerstag, 21. Juni 2018 09:28:52 UTC+2 schrieb Marten Feldtmann: > > > > > > > > Sure about this ? > > > > > > > > Marten > > > > > > > > Am Donnerstag, 21. Juni 2018 08:40:13 UTC+2 schrieb Joachim Tuchel: > > > > > > > > > > > >> Unfortunately, the windows version of cURL doesn't support the imap > > or > > > >> imaps protocol. > > > >> > > > >> > > > >> > > > > > > -- > > > You received this message because you are subscribed to the Google > > Groups "VA Smalltalk" group. > > > To unsubscribe from this group and stop receiving emails from it, send > > an email to [hidden email] <javascript:>. > > > To post to this group, send email to [hidden email] > > <javascript:>. > > > Visit this group at https://groups.google.com/group/va-smalltalk. > > > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. > To post to this group, send email to [hidden email]. > Visit this group at https://groups.google.com/group/va-smalltalk. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |