My apologies to you if this is a repeat. I have been having some problems with a number of mail lists lately and I don't remember seeing my cc: to Brad appear. I believe that it has some relevance to a few people so I thought I would repost. -m. >Brad West wrote: > >>I am trying to use the MacSMTP.pl libraries to help me process forms from >>my Web server. This is pretty vanilla stuff, getting POST-method arguments >>from STDIN and processing them, sending a mail via SMTP, and generating a >>response in HTML to be displayed to the user. The problem I have is that I >>need to output my HTML to STDOUT, but apparently MacSMTP is using STDOUT to >>communicate with my SMTP server. >> > >Hi Brad. > >First a caveat - I don't play with Web stuff, so I am not going to be much >use on that front. As for MacSMTP, it doesn't use STDOUT to communicate >with the server (the hard work is done in macchat, which turn uses >Mathias' GUSI code to wrap the TCP connection), but it does use STDOUT to >write diagnostics. > >MacSMTP is a little broken in this respect. I have cleaned up the code a >released a new version as "SMTPlib". The code is cleaner, runs a little >faster and has a number of bugs fixed. Owing to the lack of a suitable >site, I have included the "latest" version as an attachment (.sit.hqx). > >[If some nice person could add it to the MacPerl collectio I'd be grateful.] > >Hope this helps. > >-mark. > > Attachment converted: ION2:SMTPlib_1.0_11Dec95.sea.hqx (TEXT/*TEX) (0000CA5B) ==================================================================== Mark Probert ph/fx: +61 2 716 0847 Archaeopteryx Systems Pty Ltd email: markp@matra.com.au PO Box A1032 Sydney Sth NSW 2000 sme: telecommunications, in ====================================================================