Hi,
iam using the following command:
uuencode file1.pdf file1.pdf|mailx - s "waz up?" xyz@domain.com
Iam recieving an encoding error when i try to open the attachment.
Pls help..very urgent!!! (1 Reply)
hi,
i've created a script that sends out an email using the mailx and uuencode command. the script is ok, but when a 5MB attachment is sent, there are time that the intended recepients does not receive any email. i tested it and the issue is intermitent. please help on how to troubleshoot.
i... (3 Replies)
hi,
i am trying to send mail with attachment to web-based email client like gmail.com using mailx. the problem is it is displayed in content rather than as attachment.
the code i am using is as follows,
uuencode test1.txt test1.txt | mailx -s "test only" aaaa@gmail.com
does anyone... (1 Reply)
Hi,
I am using mailx command to send a mail with attachment. It's working fine, but with attachment I am getting one extra attachment like (ATT00131.txt). I have tried to use unix2dos command also. But still I am getting the extra attachment.
I am using the following code:
subject="temp... (5 Replies)
I have a need to send a file from the unix command line to be sent as an attachment. Is this possible? That is when I open my outlook email I need to file to appear as an attachment.
Also, is there a way to use the mail binary (not mailx) to modify the "reply address". mailx -r works but I need... (1 Reply)
Hi,
Our requirement is to send an attachment and content in a single mail. I am using the below command to send attachement.
---------------------
(uuencode $exp_file $exp_file) |mailx -s "$email_subject" $EmailRecipients
--------------------
I m not able to send any message in the... (4 Replies)
Hi,
I need to send a attachment which has space in the file name as: "ABC Data Extract.txt" which is present in the location /home/projects/txt
i am using
/home/projects/scripts
mailx -s "Sub" email_id "/home/projects/txt/ABC Data Extract.txt"
but i am not getting the attachment. (7 Replies)
I am unable to send email with attachment using the mailx command. Without the attachment, the email goes through file.
This is the command I use.
Works : $ echo "Test" | mailx -s "Test" username@website.com
Fails : $echo "Test" | mailx -a all-dss-accounts.txt -s "Test"... (3 Replies)
Hi,
We are using HPUX and have a script to send PDF attachment via MAILX
Basically the script does the following:
echo > $HOME/MY_mail_file
uuencode o40881754.pdf o40881754.pdf >> MY_mail_file
cat MY_mail_file | mailx -m -s "Sending PDF attachment" <email address>
This script works... (7 Replies)
Discussion started by: Michel
7 Replies
LEARN ABOUT ULTRIX
uudecode
uuencode(1c)uuencode(1c)Name
uuencode, uudecode - encode/decode a binary file for transmission via mail
Syntax
uuencode [file] remotedest | mail sys1!sys2!..!decode
uudecode [file]
Description
The and commands are used to send a binary file by uucp (or other) mail. This combination can be used over indirect mail links even when
is not available.
The command takes the named source file (default standard input) and produces an encoded version on the standard output. The encoding uses
only printing ASCII characters, and includes the mode of the file and the remotedest for recreation on the remote system.
The command reads an encoded file, strips off any leading and trailing lines added by mailers, and recreates the original file with the
specified mode and name.
The intent is that all mail to the user ``decode'' should be filtered through the program. This way the file is created automatically
without human intervention. This is possible on the uucp network by either using or by making be a link to instead of In each case, an
alias must be created in a master file to get the automatic invocation of
If these facilities are not available, the file can be sent to a user on the remote machine who can uudecode it manually.
The encode file has an ordinary text form and can be edited by any text editor to change the mode or remote name.
Restrictions
The file is expanded by 35% (3 bytes become 4 plus control information) causing it to take longer to transmit.
The user on the remote system who is invoking (often must have write permission on the specified file.
See Alsomail(1), uucp(1c), uusend(1c), uux(1c), uuencode(5)uuencode(1c)