For Programmers: Free Programming Magazines  


Home > Archive > Smalltalk > February 2008 > Re: are there any changes to POP3 btween vw7.4 & vw7.5 ??









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: are there any changes to POP3 btween vw7.4 & vw7.5 ??
dragoncity@aanet.com.au

2008-02-09, 4:36 am

On Feb 8, 4:07 pm, Martin Kobetic <mkobetic-cincom-com> wrote:
> dragonc...@aanet.com.au wrote:
>
>
>
>
> From 7.5 Release Notes:
>
> NetClient Closing Protocol Changes
>
> We have changed POP3>>disconnect in 7.5. The method disconnects the
> client from a server but not sends quit anymore which means all started
> transactions won't be completed if the disconnect was executed without
> first sending quit.
> We tried to clean up the net clients API to be more consistent for all
> clients.
> Net Clients
> Release Notes 23
> Most Net Clients support this protocol:
> * #connect - establish socket connection with a server
> * #login - a client authenticates itself
> * #close - a client signs off and closes socket connection #disconnect -
> close socket connection
> The IMAPClient protocol is different:
> * #logout - the connection is being terminated, and the server will close
> the connection
> * #close - command permanently removes from the currently selected
> mailbox all messages that have the \Deleted flag set, and returns to
> authenticated state from selected state.
> The following examples illustrate the differences.
> SMTPClient:
> smtpClient := SMTPClient host: 'smtp.cincom.com'.
> smtpClient user: (NetUser username: 'username' password: 'password' ).
> smtpClient connect.
> [smtpClient login.
> smtpClient send: message1.
> smtpClient send: message2.
> ] ensure: [smtpClient close ] <===== change
> POP3Client:
> pop3Client := POP3Client new.
> pop3Client user: (NetUser username: 'username' password: 'password' ).
> pop3Client hostName: 'hostname'.
> pop3Client useSecureConnection.
> [pop3Client connect] on: Security.X509.SSLBadCertificate do:
> [ :ex | ex proceed].
> [pop3Client login; list ] ensure: [pop3Client close ] <===== change
>
> HTH,
>
> Martin


Fixed !,

Thank you,
Brett
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com