Hello, Modify Cleanup procedure: IF SEEK(sLogfile) NE ? THEN DO: IF vState < 0 THEN {&LOGGER} vMessage SKIP. {&Logger} "End SMTP Session" SKIP. IF MsgFile <> "" THEN OUTPUT {&MsgStream} CLOSE. OUTPUT {&Stream} CLOSE. END.
Error ** Attempt to write to closed stream sLogfile. (1387) - smptmail
SMTP Email Format Fix
For version 5.8c... down around line 1053... here is a patch that I believe fixes...
smtpmail - multiple TO and CC headers should be combined