Hi,
I exit as if the foreign host has refused the
connexion when trying to execute the following script.
What could be the error ?
Thanks
#!bin/ksh
telnet 173.142.12.19 25 <<BEGIN
EHLO webmail.company.com
MAIL FROM:<malik@company.com>
RCPT TO:<malik@company.com>
DATA
DATE: 05 may 2006 19:42:00
From:
malik@company.com
To:
malik@company.com
Cc:
muself@company.com
Subject: License
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
quit
BEGIN