Results 1 to 2 of 2
Hello I was wondering if someone can help me out, I am trying to send an email with a separate attached file…. I have researched loads of forums and from ...
- 08-19-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 7
sendmail help - attachments
Hello I was wondering if someone can help me out, I am trying to send an email with a separate attached file…. I have researched loads of forums and from my research I have tested numerous ideas which none have worked…. Just to give you some background I am working on RHEL4.6 server with sendmail and mail installed…. There is no mutt or mailx installed on this server nor will my company allow me to install these utilities….
Normally from a shell script if I want to send an email message I would code the following:
Is it possible to expand upon my current code so as to attach a document to the email not insert the contents into the body of the email? Any and help will be appreciated. Thank youCode:/usr/sbin/sendmail -t -oi <<EOF From: $from_address To: $to_address Subject: Test Mail $msg EOF
- 08-24-2010 #2Just Joined!
- Join Date
- Jun 2010
- Posts
- 7
I am amazed... nobody has any suggestion for me?


Reply With Quote