I need to send attachment with email as external attachment. Presently, we are using uuencode to make an attachment but it is going as content of body. We are using below command.
In unix box, -a is not supportable even for mail and send mail. Please help how to send email with external attachment without using uunecode,mailx or mail or sendmail
hello ,
i m new to linux/unix , well in my college their is linux server to which we all (i and my frnds) login
, we can send mail to each other through command "mail" .
but any one can tell me how can i attached a binary file with mail.
we are using red hat , "pine ", "mailx" , all... (2 Replies)
hi,
i have the code as below
#!/bin/sh
MAIL=/usr/bin/Mail
Mail_addr="aaa@bb.com"
Mail_file="/home/delta/dev/aa.doc"
${MAIL} -s " health check" ${Mail_addr} < ${Mail_file} (6 Replies)
Hi,
I usually write a file TEST.MAIL like this to send mails:
Importance: High
Priority: Urgent
X-Priority: 1 (Highest)
From: user
Subject: error
... text body ....
and then I launch it (or writre a c-chell that launchs it) by writing:
mail a@b.com < /users/.../TEST.MAIL
How can... (4 Replies)
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Hi,
I want to send color text as body of mail with multiple attachments.How to do this?I used sendmailcommand but this command fails for multiple attachments.Give me some solution on this.
:wall: (0 Replies)
Hi All,
I need to send mail with attachment. I am using uuencode but it seems it is sending encoded file. I am getting the mail with attachment but there is no data even the file size is almost 90KB. Please help.
Thanks. (3 Replies)
Hi All,
I am trying to send mail via unix and attaching file along with that mail, but facing issue while sending.
I have tried below commands-
1)-
uuencode $prmDirOutput/report_mailbody $prmDirOutput/report_mailbody | mailx -s "Acknowledgment file- $subject" $email_id
2)-
mutt -a... (4 Replies)
Discussion started by: Amit786
4 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)