Few years back i was using something as follows in my shell script:
Code:
MAILRC=/dev/null from=you@domain.com smtp=smtp.mail.com \
smtp-auth-user=smtpUser smtp-auth-password=smptUser \
smtp-auth=login nail -n -s "My Subject" \
-a /tmp/somefile.tar.gz outside@gmail.com < /tmp/message.tmp.out
Btw, there is no such option called -
set smtp_use_starttls try
smtp-use-starttls
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!
If you have knowledge, let others light their candles at it.
Certified to work on
HP-UX /
Sun Solaris /
RedHat