[HPADM] RE: QUESTION: Mailx Problem

From: Marles, Rob (RMarles@trojanuv.com)
Date: Tue Feb 14 2006 - 10:41:23 EST


Hello

A while ago I had a problem where I wanted to send a textfile as an
attachment via email to a user (from a non-root user).

I solved this problem by using the following command:

cat $FILEIN |ux2dos |uuencode $FILEOUT |mailx -s"Your Report: $FILEOUT"
username@domain.com

This sends a blank email with the file "$FILEOUT" as an attachment to
the email, which was exactly what I wanted to accomplish.

This worked perfectly until this past weekend when our exchange
administrator upgraded to SP2.

Now the uuencoded text comes across in the body of the email instead of
as an attachment.

Thanks in advance for your ideas!

This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.
 
Ce message (ainsi que les eventuelles pieces jointes) est
exclusivement adresse au destinataire et contient des
informations
confidentielles. La copie, la communication ou la distribution du
contenu de ce message sans l'accord prealable de l'expediteur
sont strictement interdits et peuvent constituer un delit. Si
vous
n'etes pas destinataire de ce message, merci de le detruire et
d'avertir l'expediteur. Si vous avez des questions se rapportant
a ce courrier electronique, merci de bien vouloir notifier
l'expediteur immediatement.

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:52 EDT