hi Carey Carey Evans wrote: > Some servers will fail though, especially ones with anti-spam > configurations, if you just send all the lines one after another without > stopping to read the server's responses.
Actually I tried to read the servers response after sending each line, but the "gets $s_ptr" command just hangs. (I do get a response to HELO, and but not after other commands). Any thoughts on this? > Actually, the lines you're > sending are not quite correct either. Which ones? > > Why not use the "smtp" package from Tcllib to do it properly? > > http://www.tcl.tk/software/tcllib/ I'm using the TCL shell in a Communications testset, and it doesnt have the required packages/libraries installed. It offers just basic functionality. The reason I dint try to make the code very robust is that this email-capablity is not a critical (or even a nescessary) part of the script. Just put it in to let me know the status of a test-script if run over the weekend. However, I would be grateful for any suggestions/tips. Thanks, Hans
