Has anyone sent an attachement against an email from Unix to Groupwise. If so how have you done this. I don't want to cat the contents of the file within the email. Its needs tobe a file.
You have to enter the file name twice in the command line.
Be careful with files ending in .txt. Some E-Mail programs will read the contents of a *.txt file and instead of attaching the file, include the contents in the body of the E-Mail.
The command should be:
uuencode file.test.txt file.test.txt | mailx -s "TEST FILE" [Email address]
Tried this worked and got a file to my email, but with no attachement. I have just looked at the files I need to send and will be able to send this without an extension i.e. .txt. However, I still got an error message as follows: -
uuencode: ISO8859-15 to 646 conversion: Invalid argument
I typed in the follwing: -
uuencode file.test file.test| mailex -s "TEST FILE" [email address which ends with not a .com but .org.uk]
I'm not familiar with that error message, but it shouldn't be fatal. I can't figure out what the problem is, but you should be able to receive the file.
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.