help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] POP and SMTP assistance


From: Stephen Compall
Subject: Re: [Help-smalltalk] POP and SMTP assistance
Date: Mon, 03 Sep 2007 16:56:10 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]