Stephen Woolerton wrote:
~/projects_smalltalk $ cat pop.st

Smalltalk addSubspace: #NetClients!
"Namespace current: NetClients!"
    | client host username password popClient|
    host := 'server.fqdn'.
    username := 'mailacct'.
    password := 'mailacctpassword'.
    "popClient := POPClient new."
    client := POPClient connectToHost: host.
> ...
 ~/projects_smalltalk $ gst pop.st
Object: nil error: did not understand #connectToHost:

POP and SMTP are in the NetClients package; I suggest you read up on packages in the manual, chapter 3 "Packages".

Do not load the .st files included with GST manually; they are all in packages. You can load NetClients with PackageLoader fileInPackages: #('NetClients')!

--
;;; Stephen Compall ** http://scompall.nocandysw.com/blog **
But you know how reluctant paranormal phenomena are to reveal
themselves when skeptics are present. --Robert Sheaffer, SkI 9/2003


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to