Re: [foxboro] AW70 XP and smtp

lesson "How to send emails on a AW70?"

smtpmail -Di -f %USERNAME%@%computername% -h myMailServerName -m
C:\boot.ini -s " %date% %time%" recipient@xxxxxxxxxxxx

cat C:\boot.ini | smtpmail -Di -h myMailServerName
recipient@xxxxxxxxxxxx


D:\nutc\mksnt>mailx recipient@xxxxxxxxxxxx
Subject: foospecial
info
~.
EOT

D:\nutc\mksnt>

echo "my email body with information" | mailx -s "my subject"
recipient@xxxxxxxxxxxx


What do you have to do?

I had to find a workaround for the $MKS_VER toolkit version 8.7 because
this version doesn't supports the variable $MAILHOST.

1)=20
# vi D:/nutc/etc/mailx.rc
set sendmail=3DD:/nutc/mksnt/smtp-mail.cmd
#

2) create an environment system variable with the name MAILHOST and the
value "mySMTPServer" or put this information into the batch file
smtp-mail.cmd

3)=20
# vi D:\nutc\mksnt\smtp-mail.cmd
smtpmail.exe -h %MAILHOST% %1 %2 %3 %4 %5 %6 %7 %8 %9
#

4) run mailx

Regards,
Andreas
 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: