Issue 5032 in pharo: SecurePop3Client

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 5032 in pharo: SecurePop3Client

pharo
Status: Accepted
Owner: [hidden email]

New issue 5032 by [hidden email]: SecurePop3Client
http://code.google.com/p/pharo/issues/detail?id=5032

See the discussion here
http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-November/162278.html

Jon has sent a "SecurePop3Client" class which may be usefull for
Pharo too. See

http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-November/162295.html

for his attachement


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5032 in pharo: SecurePop3Client

pharo

Comment #1 on issue 5032 by [hidden email]: SecurePop3Client
http://code.google.com/p/pharo/issues/detail?id=5032

Interesting, thanks for sharing this.

Have you tested this yourself ? Can you confirm that it works with say,  
Gmail ?

I have been playing with this too, combined with Zodiac, but could not get  
it to work completely (there was some issue with flushing/line end  
conventions that I could not resolve).

My code is in Zodiac-Extra in SqS/Zodiac.

Sven



_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5032 in pharo: SecurePop3Client

pharo

Comment #2 on issue 5032 by [hidden email]: SecurePop3Client
http://code.google.com/p/pharo/issues/detail?id=5032

Sorry - no time these days for Pharo.
Maybe someone can ask Jon Hylands to also do a test in Pharo.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5032 in pharo: SecurePop3Client

pharo
Updates:
        Status: Closed

Comment #3 on issue 5032 by [hidden email]: SecurePop3Client
http://code.google.com/p/pharo/issues/detail?id=5032

Sven Says (and thus I close this entry as this will be added to Pharo  
together with Zodiac)

This week I found some time to finish two small examples,  
ZdcSecurePOP3Client and ZdcSecureSMTPClient. These are subclasses from the  
POP3Client and SMTPClient already present, but open a ZdcSecureSocketStream  
to the POP3/SMTP server and connect it at the SSL level. This means you can  
now receive and/or send email securely over SSL, to GMail for example:

"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.



_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker