Results 1 to 4 of 4

Thread: unix mail..

  1. #1
    Join Date
    Jan 2004
    Posts
    51

    Unanswered: unix mail..

    Is it possible to attach file to the email sent using mail command?

    or is there any alternative command?

    Thanks

  2. #2
    Join Date
    Jun 2004
    Posts
    20
    U can use pine utility.

    pine -attach <filename> <address>

  3. #3
    Join Date
    Jun 2002
    Location
    UK
    Posts
    525
    You can use uuencode.

    Code:
    { echo "The mail body"; uuencode aFileToAttach theAttachmentName; } | mail -s "theSubject" "someone@somewhere.com"
    If your file to attach is a text file, you might want to 'flip -mb' it into DOS format first.

    HTH

  4. #4
    Join Date
    Jan 2004
    Posts
    51
    Thank you for your suggestions..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •