From Past Postings in this forum I have pieced together the following which works very well.
Use this command to attach a file in unix and send to notes
filename1= the file in unix u want to send
filename2= the file name of attatchment to recieve in notes
test= The name for the subject field
email@name.com= email address to send to
If it doesn't automatically do it when you read it....
...since you are naming the file above to be on the receiving machine.............
it should show up in whatever directory you are in when you read the mail....
if it doesn't, after you read it, you can
Using the redirect < will put the contents of your file into the body/text of your email and not as an attachment. This can sometimes be even better than an attachment. Remember, amateurs built the Ark, professionals built the Titanic.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.