View Single Post

  #6 (permalink)  
Old 09-15-2006, 03:00 AM
rockdalinux's Avatar
rockdalinux rockdalinux is offline
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

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
Reply With Quote