10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I need a syntax for mailing in unix by using html code file output as body and along with attachment (without using mutt command)
HTML code file : html1.txt
Attachment : attach1.txt
I was using the below codes but they are not working.
( cat html1.txt ; uuencode attach1.txt... (4 Replies)
Discussion started by: Rokkesh
4 Replies
2. Shell Programming and Scripting
Hi'
i am runing a script thats run with a loop...while loop true.
when i exit the server..logon and again the script doenst run.
its a bash script test.sh.
i run it as:
#./test.sh &
what can be the priblem please?
thanks alot (6 Replies)
Discussion started by: zigizag
6 Replies
3. Solaris
I'm trying to send a .zip file from my unix box to my work email (email client outlook)
The file name that I'm trying to sent is sites.zip and this is how I do it:
uuencode sites.zip | mailx -s "testing" myname@mydomain.com
When I open the .zip, the zip is empty. Looking around the we, I... (17 Replies)
Discussion started by: amb1s1
17 Replies
4. Shell Programming and Scripting
Hi all,
for sending mail in shell script am using mailx command but am un able to send both the data and attachment can any one please help me am using the following command
ux2dos $ChangeList.xls | uuencode ChangeList.xls | cat $stroutfile | mailx -m -s "This is a test" test@test.com
I... (1 Reply)
Discussion started by: jhon1257
1 Replies
5. Shell Programming and Scripting
Hi,
I am not sure how well I can explain this.. Below is the file which I want to perform the code on.. Column 2 are my stop sites and column 3 are my start site.. For every gene I need to look at my starts(column3) and add +10,000 to it only if there is no gene when we move upstream 10,000(... (3 Replies)
Discussion started by: Diya123
3 Replies
6. Shell Programming and Scripting
I don't want the attachment embedded in the mail. I would like a file attached.
When I do
mailx -s "Report, `date +'%D %r` " -r "Notifications" bob@bob.com < /usr/local/bin/myreport.log> /dev/null
It gets embedded in my email. I want a file attachment. How do I do that? (2 Replies)
Discussion started by: guessingo
2 Replies
7. Solaris
Hi,
SUN E3500 box.
boot cdrom -s
create disk partitions
mount on /a one of the partitions
cd /a
ufsrestore -rf dev/rmt/0n
Starts create de inodes
Starts the extraction
and then......
stops the extraction without any error and didnīt extract all files
and stays forever waiting for i... (1 Reply)
Discussion started by: spacewalker
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I need to compress (zip) a flat file and mail the same as an attachment.
I had tried the following piece of code. But when i open the attachment in mail, the data is incorrect (displays all junk characters).
tar cf abc.tar abc.txt
compress abc.tar
uuencode abc.tar.Z abc1.wri | mailx... (4 Replies)
Discussion started by: gayath3
4 Replies
9. Shell Programming and Scripting
Hi,
I need to compress (zip) a flat file and mail the same as an attachment.
I had tried the following piece of code. But when i open the attachment in mail, the data is incorrect (displays all junk characters).
tar cf abc.tar abc.txt
compress abc.tar
uuencode abc.tar.Z abc1.wri | mailx -s... (0 Replies)
Discussion started by: gayath3
0 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I'm fairly new to using Unix and I was just wondering can someone please tell me the simplest way to mail and attachement using the mail command using Solaris? I have tried using uuencode file name | mail johndoe@ttp.ie but it hasn't worked. I have been mailing the file to myself using... (4 Replies)
Discussion started by: gerwhelan
4 Replies