08-08-2011
Hi Birei,
i want to share this script which mails with attachments to end-users. where they done know about installations and modules, just they'll execute the script. that's y i dont want to install any module in customer system, simple mail with zip file attachment i need.
Thanks,
Arun
10 More Discussions You Might Find Interesting
1. How do I send email?
How do I send a file as an attachment on a Unix system (9 Replies)
Discussion started by: SmartJuniorUnix
9 Replies
2. UNIX for Dummies Questions & Answers
How do I send a file as an attachment on a Unix system (9 Replies)
Discussion started by: SmartJuniorUnix
9 Replies
3. UNIX for Advanced & Expert Users
Hi,
I need to send a mail attachment from the UNIX commandline. I'm using Tru64 and the mail client thats supposed receive the attached file (an excel sheet) is Lotus Notes.
Can anybody help me out? (6 Replies)
Discussion started by: Abhishek Ghose
6 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
i have tried the following command to send an email with an attachment
its working fine but i am getting mail with the embeded content inside the mail that too truncated.
i wanted it as an attachment.
/usr/lib/sendmail -F "MAC SIA" address "rajendra@abc.com.sg" -t <... (6 Replies)
Discussion started by: rajendragora
6 Replies
5. Shell Programming and Scripting
Hi,
I have used the following command to send a text file "archiver.log" as attachment.
(cat mail.log; uuencode archiver.log archiver.log; ) | mailx -s "Failure" asd@a.com :
But in the mail i am not getting new lines in the text file.New Lines are getting replaced with some weird... (2 Replies)
Discussion started by: radhika03
2 Replies
6. Shell Programming and Scripting
Hi people, I am new to this forums. I have a quick question I hope one of you could help me with. I am writing a script to send attachments via email. However I am having trouble when trying to send multiple attachments. Here is the code I am using:
send_mail()
{
uuencode $TMP $TMP1 > $TMP1... (1 Reply)
Discussion started by: deo2k8
1 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I've search the forum, but I cannot find an answer to my specific question. I'm trying to send some files to my professor. Upon his request, I used the following:
tar -cvf vh.tar vh_part1.c vh_part2.c vh_part3.c vh_part4.c vh_sample_run15.txt uuencode vh.tar vh.tar > proj1 mail... (2 Replies)
Discussion started by: venush
2 Replies
8. Shell Programming and Scripting
I am running a perl script that generates an excel doc and then emails it as an attachment. I can generate the excel file fine. I can scp it from the box and open it with no problems. When I send it over email, the file does open properly. The file in email is only 288 B, but on the server it is... (1 Reply)
Discussion started by: Mike_the_Man
1 Replies
9. Shell Programming and Scripting
I have created a shell scripts and wanted to email users multiple attachments using mailx. I noticed that when I do a man on mailx I see and -a option for attachments. When I run a:
mailx -s "test attachments" -a include_file -a exclude_file testuser@mydomain.com
(Interrupt -- one more to... (1 Reply)
Discussion started by: metallica1973
1 Replies
10. UNIX for Dummies Questions & Answers
OS Linux....Just curious as to why this is not working...
uuencode test.txt "test.xls"|mailx -r xxx@server.com -s "validation report" emailrecipient1,emailrecipient2
Please help....Any other options do we need to use?? (3 Replies)
Discussion started by: saggiboy10
3 Replies
LEARN ABOUT DEBIAN
simplify
SIMPLIFY(1) General Commands Manual SIMPLIFY(1)
NAME
simplify - a script to simplify a MIME message
SYNOPSIS
simplify [args ...] < message > othermessage
DESCRIPTION
This manual page documents briefly the simplify command. simplify is a Perl script to simplify a MIME message.
This script never loads the entire message into memory, but does dump it's entire contents to disk once.
OPTIONS
mime=no
Don't use MIME, no HTML mail allowed.
testing=yes
Run in testing mode (suppress randonmess)
saveall=yes
Save all attachments to files.
temp=/path/to/working/dir/
Defaults to /tmp.
url=http://box/path/
URL-prefix for printing paths to attachments
header=text...
Text preceding the attachment URL list.
textsig=/path/to/file
Text signature to append to text parts.
htmlsig=/path/to/file
HTML signature to append to HTML parts.
If "saveall" is yes, then the script will save all attachments to disk so people can access their contents later. If an URL is specified
then that automatically implies "saveall=yes". Without this, the default behavior is to only save text and html parts, and delete them and
all working directories when the script is finished.
SEE ALSO
sanitizer(1). More info on configuration: /usr/share/doc/sanitizer/sanitizer.html
AUTHOR
Bjarni R. Einarsson <bre@klaki.net>
This manual page was written by Alberto Gonzalez Iniesta <agi@agi.as> for the Debian GNU/Linux system (but may be used by others).
May 14, 2003 SIMPLIFY(1)