Re: Sending mail

Hans Nelisse (hneel@xs4all.nl)
Mon, 30 Sep 1996 12:53:14 +0200

>Here is my Souper95 BAT file:

[...]
>echo "Uploading messages/articles..."
>souper95 -s shoga.wwa.com

>In this BAT file, shoga.wwa.com is both my POP and SMTP server. The
>line "souper95 -s shoga.wwa.com" sends out mail and/or news messages.
>You should have this line in your BAT file somewhere, and you may have
>to specify your SMTP server there.

How did you set the environment variables, like NNTPSERVER=, MAILER=
or POSTER= ?

I still can't get souper95 to send mail. If I set "MAILER=smtp.xs4all.nl"
then souper95 writes 'mailing to ...' to the screen, but it doesn't
actualy send the mail. If I don't set "MAILER=", then Souper95 crashes.

This is my souper95.bat: (in the meantime I use the 16-bit souper for windows
to send replies. the 'host' program is a simple 32-bit program which i only
use to trigger the dial-up).

@echo off

rem ---[ backup newsrc ]-----------------------------------------

echo -- backing up newsrc
move /Y c:\yarn\home\backup\newsrc3 c:\yarn\home\backup\newsrc4 > nul
move /Y c:\yarn\home\backup\newsrc2 c:\yarn\home\backup\newsrc3 > nul
move /Y c:\yarn\home\backup\newsrc1 c:\yarn\home\backup\newsrc2 > nul
copy c:\yarn\home\newsrc c:\yarn\home\backup\newsrc1 > nul

rem ---[ send replies ]------------------------------------------

if not exist c:\yarn\up\up.zip goto NO_REP
echo -- sending replies

c:
cd \yarn\home\outbound

pkunzip -o c:\yarn\up\up.zip > nul
move /Y c:\yarn\up\up1.zip c:\yarn\up\up2.zip > nul
move /Y c:\yarn\up\up.zip c:\yarn\up\up1.zip > nul

rem ---[ souper 95 ]------------
rem c:\yarn\home\souper95.exe -s -m -n smtp.xs4all.nl

rem ---[ souper win 3.1 ]-------
host xs4all.nl
start /w d:\internet\souper\SOUPER.EXE -ixs4all -g -s -m -n

:NO_REP

rem ---[ get mail & news ]---------------------------------------

echo -- getting mail and news

c:
cd \yarn\home\inbound

c:\yarn\home\souper95.exe -l 1000 pop.xs4all.nl hneel <secret>

rem ---[ backup new mail & news ]--------------------------------

echo -- backing up mail and news
move /Y c:\yarn\home\backup\down.zip c:\yarn\home\backup\down1.zip > nul
pkzip c:\yarn\home\backup\down.zip areas 00*.msg > nul

rem ---[ import news & mail into YARN ]--------------------------

echo -- importing mail and news
c:\yarn\import -u

rem -------------------------------------------------------------

pause

-- 
Hans Nelisse                                          hneel@xs4all.nl
http://www.zeelandnet.nl/people/hneel/            hneel@zeelandnet.nl