The Trunk: Network-ar.58.mcz

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

The Trunk: Network-ar.58.mcz

commits-2
Andreas Raab uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-ar.58.mcz

==================== Summary ====================

Name: Network-ar.58
Author: ar
Time: 10 February 2010, 3:34:03.597 pm
UUID: 691f1d1b-2041-084e-b931-fe353673153f
Ancestors: Network-dtl.57

SMTPClient fix: HELO must be sent even when not authenticating.

=============== Diff against Network-dtl.57 ===============

Item was changed:
  ----- Method: SMTPClient>>login (in category 'private protocol') -----
  login
+ "Send HELO first"
- self user ifNil: [^self].
  self initiateSession.
+ self user ifNil: [^self].
  self sendCommand: 'AUTH LOGIN ' , (self encodeString: self user).
  [self checkResponse]
  on: TelnetProtocolError
  do: [ :ex | ex isCommandUnrecognized ifTrue: [^ self] ifFalse: [ex pass]].
  self sendCommand: (self encodeString: self password).
  self checkResponse!