problem faced during sending attach file using mail -a












1















i am using a Red Hat Enterprise Linux AS release 4 (Nahant Update 8) and i am facing problems while i try to send an attached file via email using "mail -a" option.
the below is displayed:



mail -a
mail: invalid option -- a
Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
[- sendmail-options ...]
mail [-iInNv] -f [name]
mail [-iInNv] [-u user]


The rpm packages installed related to "mail" are:



rpm -qa | grep mail
sendmail-8.13.1-3.3.el4
mailx-8.1.1-37.EL4
mailcap-2.1.17-1
procmail-3.22-14.1.el4


Please, can you tell me what .rpm package i should install on my system in order to be able to use "mail -a".



thank you...










share|improve this question













migrated from stackoverflow.com Jul 6 '11 at 16:48


This question came from our site for professional and enthusiast programmers.























    1















    i am using a Red Hat Enterprise Linux AS release 4 (Nahant Update 8) and i am facing problems while i try to send an attached file via email using "mail -a" option.
    the below is displayed:



    mail -a
    mail: invalid option -- a
    Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
    [- sendmail-options ...]
    mail [-iInNv] -f [name]
    mail [-iInNv] [-u user]


    The rpm packages installed related to "mail" are:



    rpm -qa | grep mail
    sendmail-8.13.1-3.3.el4
    mailx-8.1.1-37.EL4
    mailcap-2.1.17-1
    procmail-3.22-14.1.el4


    Please, can you tell me what .rpm package i should install on my system in order to be able to use "mail -a".



    thank you...










    share|improve this question













    migrated from stackoverflow.com Jul 6 '11 at 16:48


    This question came from our site for professional and enthusiast programmers.





















      1












      1








      1








      i am using a Red Hat Enterprise Linux AS release 4 (Nahant Update 8) and i am facing problems while i try to send an attached file via email using "mail -a" option.
      the below is displayed:



      mail -a
      mail: invalid option -- a
      Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
      [- sendmail-options ...]
      mail [-iInNv] -f [name]
      mail [-iInNv] [-u user]


      The rpm packages installed related to "mail" are:



      rpm -qa | grep mail
      sendmail-8.13.1-3.3.el4
      mailx-8.1.1-37.EL4
      mailcap-2.1.17-1
      procmail-3.22-14.1.el4


      Please, can you tell me what .rpm package i should install on my system in order to be able to use "mail -a".



      thank you...










      share|improve this question














      i am using a Red Hat Enterprise Linux AS release 4 (Nahant Update 8) and i am facing problems while i try to send an attached file via email using "mail -a" option.
      the below is displayed:



      mail -a
      mail: invalid option -- a
      Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
      [- sendmail-options ...]
      mail [-iInNv] -f [name]
      mail [-iInNv] [-u user]


      The rpm packages installed related to "mail" are:



      rpm -qa | grep mail
      sendmail-8.13.1-3.3.el4
      mailx-8.1.1-37.EL4
      mailcap-2.1.17-1
      procmail-3.22-14.1.el4


      Please, can you tell me what .rpm package i should install on my system in order to be able to use "mail -a".



      thank you...







      linux






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 6 '11 at 10:18







      user831322











      migrated from stackoverflow.com Jul 6 '11 at 16:48


      This question came from our site for professional and enthusiast programmers.









      migrated from stackoverflow.com Jul 6 '11 at 16:48


      This question came from our site for professional and enthusiast programmers.
























          2 Answers
          2






          active

          oldest

          votes


















          0














          Where did you find that -a option?

          You should have a look at the pair uuencode/uudecode to attach binary files to your mails.






          share|improve this answer































            0














            Try mailx



            NAME
            mailx - send and receive Internet mail

            SYNOPSIS
            mailx [-BDdEFintv~] [-s subject] [-a attachment ] [-c cc-addr] [-b bcc-addr] [-r from-addr] [-h hops] [-A account] [-S variable[=value]] to-addr . . .
            mailx [-BDdeEHiInNRv~] [-T name] [-A account] [-S variable[=value]] -f [name]
            mailx [-BDdeEinNRv~] [-A account] [-S variable[=value]] [-u user]





            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f307198%2fproblem-faced-during-sending-attach-file-using-mail-a%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown
























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              Where did you find that -a option?

              You should have a look at the pair uuencode/uudecode to attach binary files to your mails.






              share|improve this answer




























                0














                Where did you find that -a option?

                You should have a look at the pair uuencode/uudecode to attach binary files to your mails.






                share|improve this answer


























                  0












                  0








                  0







                  Where did you find that -a option?

                  You should have a look at the pair uuencode/uudecode to attach binary files to your mails.






                  share|improve this answer













                  Where did you find that -a option?

                  You should have a look at the pair uuencode/uudecode to attach binary files to your mails.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 6 '11 at 12:39









                  jopasseratjopasserat

                  1506




                  1506

























                      0














                      Try mailx



                      NAME
                      mailx - send and receive Internet mail

                      SYNOPSIS
                      mailx [-BDdEFintv~] [-s subject] [-a attachment ] [-c cc-addr] [-b bcc-addr] [-r from-addr] [-h hops] [-A account] [-S variable[=value]] to-addr . . .
                      mailx [-BDdeEHiInNRv~] [-T name] [-A account] [-S variable[=value]] -f [name]
                      mailx [-BDdeEinNRv~] [-A account] [-S variable[=value]] [-u user]





                      share|improve this answer




























                        0














                        Try mailx



                        NAME
                        mailx - send and receive Internet mail

                        SYNOPSIS
                        mailx [-BDdEFintv~] [-s subject] [-a attachment ] [-c cc-addr] [-b bcc-addr] [-r from-addr] [-h hops] [-A account] [-S variable[=value]] to-addr . . .
                        mailx [-BDdeEHiInNRv~] [-T name] [-A account] [-S variable[=value]] -f [name]
                        mailx [-BDdeEinNRv~] [-A account] [-S variable[=value]] [-u user]





                        share|improve this answer


























                          0












                          0








                          0







                          Try mailx



                          NAME
                          mailx - send and receive Internet mail

                          SYNOPSIS
                          mailx [-BDdEFintv~] [-s subject] [-a attachment ] [-c cc-addr] [-b bcc-addr] [-r from-addr] [-h hops] [-A account] [-S variable[=value]] to-addr . . .
                          mailx [-BDdeEHiInNRv~] [-T name] [-A account] [-S variable[=value]] -f [name]
                          mailx [-BDdeEinNRv~] [-A account] [-S variable[=value]] [-u user]





                          share|improve this answer













                          Try mailx



                          NAME
                          mailx - send and receive Internet mail

                          SYNOPSIS
                          mailx [-BDdEFintv~] [-s subject] [-a attachment ] [-c cc-addr] [-b bcc-addr] [-r from-addr] [-h hops] [-A account] [-S variable[=value]] to-addr . . .
                          mailx [-BDdeEHiInNRv~] [-T name] [-A account] [-S variable[=value]] -f [name]
                          mailx [-BDdeEinNRv~] [-A account] [-S variable[=value]] [-u user]






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jul 6 '11 at 16:54









                          trurltrurl

                          2,06211014




                          2,06211014






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f307198%2fproblem-faced-during-sending-attach-file-using-mail-a%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Probability when a professor distributes a quiz and homework assignment to a class of n students.

                              Aardman Animations

                              Are they similar matrix