Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

add attachment to mail 3

Status
Not open for further replies.

hcclnoodles

IS-IT--Management
Jun 3, 2004
123
GB
hi there

I am currently using the following line to send mails out

mailx -s "subject here" you@yourcompany.com < file.txt

this places the text from file.txt i direct into mailx into the body of the mail, does anybody know how i "attach" this rather than print it in the mail


any help would be greatly appreciated
 
Actually, that should be RFC 1341, which has been supplanted by RFC 2045 (for those who actually keep up with that stuff).
 
Guys,

biabam did not work.. when trying to run it I got:

interpreter "/bin/bash" not found
file link resolves to "/usr/bin/bash"
./biabam: Command not found.

EricBrunson,

my script used to work for outlook before, I dont understand why it does not now. I am sure it is something to do with the way the files are transferred (probably uuencode does not work anymore in the UNIX server).

Thanks for your help anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top