Computing.Net > Forums > Solaris > problem in sendmail command

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

problem in sendmail command

Reply to Message Icon

Original Message
Name: vastare
Date: December 15, 2005 at 03:14:34 Pacific
Subject: problem in sendmail command
OS: Sun Solaris 5.8
CPU/Ram: sparc
Comment:

Hi,

I use the sendmail command to send automatic e-mail in my control programs,
but I'd like to know if there's a non interactive way to send an attachment,
like a small text file through sendmail command. I didn't find a way in the man, so anyone has already done it?..

please help on this?

Thanks
vastare


Report Offensive Message For Removal


Response Number 1
Name: ghostdog
Date: December 15, 2005 at 08:55:46 Pacific
Reply: (edit)

sendmail doesn't support attachment i think.
u can try this instead

uuencode <filename> <filename> | mailx -s "subject" user@somedomain.com


Report Offensive Follow Up For Removal

Response Number 2
Name: phaedo
Date: January 18, 2006 at 17:34:43 Pacific
Reply: (edit)

Depending on your needs Perl's MIME::Lite works wonders in the email attachment department.


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home








Do you own an iPhone?

Yes
No, but soon
No


View Results

Poll Finishes In 7 Days.
Discuss in The Lounge
Poll History




Data Recovery Software