while [ $count = 1 ]
do
( echo open MAIL-SERVER-NAME 25
sleep 8
echo helo MAIL-SERVER-NAME
echo mail from: SENDER-ADDRESS
sleep 2
echo rcpt to: RECIPIENT-ADDRESS
sleep 2
echo data
sleep 2
echo subject: YOUR-SUBJECT-HERE
echo
echo
echo this is a test mail
sleep 5
echo .
sleep 5
echo quit ) | telnet
count=2
done
3 comments
Write commentsThis script is really cool. I need more Script.
ReplyThank you for your feedback dude.I Will post more scripts soon..
ReplyHow to add attachment with this email?
ReplyWhat do you think about this Article? Add your Opinion..! EmoticonEmoticon