[squeak-dev] The Trunk: System-jar.1246.mcz
commits at source.squeak.org
commits at source.squeak.org
Sat Nov 27 19:46:10 UTC 2021
Christoph Thiede uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-jar.1246.mcz
==================== Summary ====================
Name: System-jar.1246
Author: jar
Time: 12 November 2021, 10:29:31.63687 pm
UUID: 89decfa1-5dbe-6341-8638-c070b5a29f17
Ancestors: System-eem.1245
Allow empty credentials (user name and password) when composing a mail message.
Currently, the MailSender class forces users to use non empty usernames and passwords. This prevents applications fro using a simple no authentication SMTP server - e.g. the Squeak Inbox Talk tool (ct). Together with Network-jar.250 modification of the SMTPClient login method this change will allow using No Auth SMTP server for sending mail messages from Squeak.
=============== Diff against System-eem.1245 ===============
Item was removed:
- ----- Method: MailSender class>>isUserNameSet (in category 'testing') -----
- isUserNameSet
- ^ UserName notNil and: [UserName notEmpty]
- !
Item was removed:
- ----- Method: MailSender class>>isUserPasswordSet (in category 'testing') -----
- isUserPasswordSet
- ^ UserPassword notNil and: [UserPassword notEmpty]
- !
Item was changed:
----- Method: MailSender class>>userName (in category 'accessing') -----
userName
+ "Answer the user name to be used for sending out messages. Leave empty if authentication not required."
- "Answer the user name to be used for sending out messages."
+ UserName ifNil: [self setUserName].
- self isUserNameSet ifFalse: [self setUserName].
-
- UserName isEmpty ifTrue: [ self error: 'no user name specified' ].
-
^UserName!
Item was changed:
----- Method: MailSender class>>userPassword (in category 'accessing') -----
userPassword
+ "Answer the user password to be used for sending out messages. Leave empty if authentication not required."
+ UserPassword ifNil: [self setUserPassword].
+ ^UserPassword!
- self isUserPasswordSet ifFalse: [self setUserPassword].
-
- UserPassword isEmpty ifTrue: [ self error: 'no user name specified' ].
-
- ^ UserPassword!
More information about the Squeak-dev
mailing list
|