Logo Background

Email Multiple Attachment Unix Command

  • By on November 1, 2009 | No Comments

    Is it troublesome to send attachment via email from your Unix box? The command uuencode was use to send the attachment but usually all of us only know how to send single attachment. What about Unix command line to send multiple email attachment?

    The answer was using uuencode too and the command below was tested in the HP-UX box and it works that we can receive multiple email attachment from the command below: –

    $ (uuencode attachment.zip attachment.zip; \
    uuencode email_attachment.zip email_attachment.zip) \
    | mail unix-command-line@allguru.net

    You can see the Unix command line as above will send the first attachment attachment.zip and the second attachment email_attachment.zip.

    » Check OIDSRV Process Status
Leave a Comment