SMTPClient and SSL
Göran Krampe
goran at krampe.se
Thu Dec 13 00:34:49 UTC 2007
Hi!
> I have a question about SMTPClient:
>
> Can it negotiate with a SSL-enabled web server, such as Gmail?
No. :) Eh... "web server" is not the right word here and SMTPClient is
also the wrong class/protocol.
To *fetch* email you need to use POP3 and yes, google tells me that gmail
only offers POP3S - which is regular POP3 wrapped in SSL.
But you can wrap it outside of Squeak using stunnel. Run stunnel locally
listening on port xxx tunneling it to gmail:995. Then you use *POP3Client*
and connect to localhost on port xxx.
See for example: http://www.engelassociates.net/email.html
regards, Göran
More information about the Squeak-dev
mailing list
|