--- a/MCSmtpRepository.st Wed Feb 12 15:53:30 2014 +0100
+++ b/MCSmtpRepository.st Wed Feb 12 15:53:31 2014 +0100
@@ -10,21 +10,25 @@
!MCSmtpRepository class methodsFor:'as yet unclassified'!
-description
- ^ 'SMTP'
-!
-
morphicConfigure
| address |
address := UIManager default request: 'Email address:' translated.
^ address isEmpty ifFalse: [self new emailAddress: address]
! !
-!MCSmtpRepository methodsFor:'as yet unclassified'!
+!MCSmtpRepository class methodsFor:'queries'!
+
+description
+ ^ 'SMTP'
+! !
-basicStoreVersion: aVersion
- MailSender sendMessage: (self messageForVersion: aVersion)
-!
+!MCSmtpRepository methodsFor:'accessing'!
+
+description
+ ^ 'mailto://', email
+! !
+
+!MCSmtpRepository methodsFor:'as yet unclassified'!
bodyForVersion: aVersion
^ String streamContents:
@@ -33,10 +37,6 @@
s nextPutAll: aVersion info summary]
!
-description
- ^ 'mailto://', email
-!
-
emailAddress: aString
email := aString
!
@@ -58,7 +58,15 @@
aVersion fileOutOn: data.
message addAttachmentFrom: data reset withName: aVersion fileName.
^ message
-!
+! !
+
+!MCSmtpRepository methodsFor:'printing & storing'!
+
+basicStoreVersion: aVersion
+ MailSender sendMessage: (self messageForVersion: aVersion)
+! !
+
+!MCSmtpRepository methodsFor:'queries'!
subjectForVersion: aVersion
^ '[Package] ', aVersion info name
@@ -67,13 +75,14 @@
!MCSmtpRepository class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/goodies/monticello/MCSmtpRepository.st,v 1.4 2012-09-11 21:28:42 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/goodies/monticello/MCSmtpRepository.st,v 1.5 2014-02-12 14:53:31 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/goodies/monticello/MCSmtpRepository.st,v 1.4 2012-09-11 21:28:42 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/goodies/monticello/MCSmtpRepository.st,v 1.5 2014-02-12 14:53:31 cg Exp $'
!
version_SVN
- ^ '§Id: MCSmtpRepository.st 5 2010-08-29 07:30:29Z vranyj1 §'
+ ^ '$Id: MCSmtpRepository.st,v 1.5 2014-02-12 14:53:31 cg Exp $'
! !
+