Author Topic: Sending Attachments Using uuencode and mailx on HP-UX  (Read 548 times)

Offline scotbuff

  • Sys Admin
  • UNIX User
  • *****
  • Posts: 174
  • Karma: +2/-0
    • View Profile
    • Scott.Buffington.me
Sending Attachments Using uuencode and mailx on HP-UX
« on: October 09, 2008, 02:10:15 pm »
uuencode source_file.txt attached_file.txt | mailx -m -r sender@address -s "attachment test" recipient@address

The -m option does not add MIME header lines to the email and so allows the attachment to go through without its guts being ripped out my the SMTP relay agent.