Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!satisfied.elf.com!news.mathworks.com!europa.eng.gtefsd.com!howland.reston.ans.net!vixen.cso.uiuc.edu!uchinews!news
From: kit@delphi.bsd.uchicago.edu (Kit Transue)
Subject: PPVW 2.0 SMTP mailer using sockets
Message-ID: <1995Jan11.185341.8342@midway.uchicago.edu>
Sender: news@uchinews.uchicago.edu (News System)
Organization: University of Chicago -- Academic Information Technologies
References: <8A1559F.029F0009EF.uuout@squirrel.ch>
Date: Wed, 11 Jan 1995 18:53:41 GMT
Lines: 69

I would like to make some kind of SMTP package available to the Smalltalk  
community:

In article <8A1559F.029F0009EF.uuout@squirrel.ch> klaus.witzel@squirrel.ch  
(KLAUS WITZEL) writes:
> -> >BTW: A small set of new classes and methods doing SMTP in VW 2.0,
> -> posted >THIS message here using the *Trumpet Winsock* 2.0B from Peter
> -> R. Tattam.
> -> Great!  I'd love to see that code.
> 
> I currently check with my employer. Maybe the code can be found on one
> of the Smalltalk archives in the not-so-far future...
> 
> Thanx for the hints.
> 
> Regards, Klaus
>                 Klaus.Witzel@McMeier.CH <- preferred at the moment.

also, In comp.lang.smalltalk article  
<199501101329.LAA04704@desterro.edugraf.ufsc.br> Marcio Quintaes Marchini  
<mqm@EDUGRAF.UFSC.BR> writes :
> 
>   We have implemented both POP3 and SMTP in Smalltalk/V Windows
> 2.0 and VisualWorks.
> 
>   We have an internal discussion listr at EDUGRAF. But we could set up
> one to discuss a common SMTP and POP3 implementation to be shared,
> if you wish...
> 
> Marcio


At the moment, I have a class that sends an e-mail to an SMTP server.  It  
is very rudimentary.  There is a compose function that builds a header and  
escapes leading periods in the text.  It then delivers to a single  
recipient on the host machine.  At the moment, it receives responses from  
the server but ignores them.

I have my employer's permission to make whatever this develops into  
available to whomever.  I'm in the middle of a pressing project, and won't  
be getting to fixing the e-mail stuff for two weeks.  At that point,  
however, I had planned to add:

confirmation of deliverability
multiple recipients/multiple host machines
retry after delay
multi-threading
bcc
better abstracted header mechanism
detection of blocked i/o
default settings (particularly username on Windows machines)

NNTP transport seems like a natural addition.  I had not planned any sort  
of server support, although that would probably be useful to some people.   
I'm sure that as my understanding of SMTP grows the list of desired  
features will as well.  It would be useful to me to know what features  
other people are looking for, in order to make this of greater use to  
everyone.

If Marcio or Klaus already has an implementation that is farther along  
than mine, and if they are able to share that implementation, I would be  
quite happy to work to add whatever I can to make the implementation  
complete.

kit transue
kit@delphi.bsd.uchicago.edu

university of chicago
biological sciences division
