Sven, et. al., I tried to use Zodiac the other day and I immediately had problem that the SqueakSSL plugin was not recognized (the primitiveSSLCreate primitive fails)... I am testing on a mac and I downloaded and copied the squeakssl bundle into the Resources folder of the Squeak vm (okay I tried doing this with three different vms and each time got the same primitive failure) ... with no luck ... I'd like to use Zodiac, but have fallen back to using libcurl (via OSProcess) because it just works.... I know that folks are able to get SqueakSSL to work, but the fact that someone has to manually monkey with their vm really means that it is not a simple matter to use Zodiac, unless one is "building their own vm" ... So I would second the notion to include SSL support in the distributed vms ... "https support is expected to work out of the box" these days ... Dale ----- Original Message ----- | From: "Sven Van Caekenberghe" <sven@beta9.be> | To: Pharo-project@lists.gforge.inria.fr | Sent: Saturday, February 18, 2012 10:28:59 AM | Subject: Re: [Pharo-project] HTTPS | | | On 18 Feb 2012, at 18:01, Jimmie Houchin wrote: | | > Would it be possible to see an example of what is required and how | > I would send an email from Pharo through GMail's smtp servers? | > | > All of my email is through GMail, and I would love to be able to | > send messages from my images. But I haven't seen or learned how, | > despite seeing messages like this in any COTDC messages. | > | > "p.s. this message was sent from a pharo image. | > Did you know you could easily do that?!" | > | > I have searched the archives and haven't found the answer of how to | > do that. | > | > Since GMail requires TLS3 or SSL, I would have to be able to handle | > that as well. | > http://support.google.com/mail/bin/answer.py?hl=en&answer=13287 | > | > Any help, insight and wisdom greatly appreciated. | | http://forum.world.st/ZdcSecurePOP3Client-and-ZdcSecureSMTPClient-td4172388.... | | "Retrieve (but not delete) your last 5 messages" | | ZdcSecurePOP3Client | retrieveMessagesFromGMailAccount: '<your-name>@gmail.com' | password: '<your-password>' | limit: 5. | | (Note that you have to enable POP3 access in your GMail account) | | "Send a message" | | | mailMessage | | mailMessage := MailMessage empty. | mailMessage setField: 'subject' toString: 'ZdcSecureSMTPClient Test'. | mailMessage body: (MIMEDocument contentType: 'text/plain' content: | 'This is test from Pharo Smalltalk'). | ZdcSecureSMTPClient | sendUsingGMailAccount: '<your-name>@gmail.com' | password: '<your-password>' | to: '<email-address>' | message: mailMessage | | The code is in the 'Zodiac-Extra' package in the | http://www.squeaksource.com/Zodiac repository. | Of course, you also have to install Zodiac and a plugin, see | http://zdc.stfx.eu/ for more details. | | HTH, | | Sven | | | -- | Sven Van Caekenberghe | http://stfx.eu | Smalltalk is the Red Pill | | | | | |