06-26-2006
Rajendra
Do you mean that the contents of the original attached file varies from that you got in the mail? If your answer is yes, I am surprised. What I have used for this purpose is the one given below and always I used to get the file as it is.
uuencode FileNameWithPath "AttachmentName" | mailx -s "MailSubject" MailAddress
For example If I send the File abcd.xls as
uuencode /home/usr/bb/abcd.xls "AttendanceList.xls" | mailx -s "List Of Attendance"
rajendra@yahoo.com
Then the file abcd.xls will be attached in the mail with the name AttendenceList.xls and the mail subject will be - List Of Attendance.
Hope this helps.
Thank you
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. Shell Programming and Scripting
Hi all,
I have written a shell script which sends emails with attachments to our clients. All our attachments are simple flat files (.txt format).
The script is working fine and sending the attachments to the mail-ids except that, when i am sending the attachments to non-outlook users (Like... (6 Replies)
Discussion started by: symhonian
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. AIX
Hi,
How can I send mail attachments from shell script (AIX) and have a mail body as well ?
Thanks in advance. (1 Reply)
Discussion started by: shibajighosh
1 Replies
8. 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
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
claws-mail-attach-remover
CLAWS-MAIL-ATTACH-REMOVER(1) General Commands Manual CLAWS-MAIL-ATTACH-REMOVER(1)
NAME
claws-mail-attach-remover -- Attachments remover from mails
DESCRIPTION
This manual page documents briefly the claws-mail-attach-remover
This manual page was written for the Debian distribution because the original program does not have a manual page.
claws-mail-attach-remover is a plugin (loadable module) for the Claws Mail mailer.
Enables the removal all of attachments from emails. When right-clicking a message on summary view, choose ``Remove attachments'' from the
displayed submenu.
USAGE
Before using a plugin you must instruct Claws Mail to load it on startup.
For this you must go ``Configuration'' menu on main window toolbar, open ``Plugins...'' dialog, click on the ``Load plugin...'' button and
select the plugin file, named att_remover.so, and press the ``Open'' button.
BUGS
There is no way you can select individual attachments for removal. It's all or nothing.
SEE ALSO
claws-mail (1), claws-mail-extra-plugins (1).
AUTHOR
claws-mail-attach-remover was written by Colin Leroy colin@colino.net
This manual page was written by Ricardo Mones mones@debian.org for the Debian system (but may be used by others). Permission is granted to
copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by
the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
CLAWS-MAIL-ATTACH-REMOVER(1)