01-27-2006
Sending attachments using email through shell script
Thanks Mahindra and RTM.
The .rtf has resolved the problem.
I just have to get back to the client and see whether he is OK with the rtf format rather than txt format.
Thanks & Regards
Vamsi Sudhakar.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone,
I have a shell script that I use to send some emails with attachments. Based on the attachment file that is being sent, I choose the recipient.
My file_list.txt looks like this
CAJ.txt;sm@email.com
KXLD.txt;jc@email.com
I do a grep on this file to look for the file name and... (3 Replies)
Discussion started by: memonks
3 Replies
2. 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
3. Shell Programming and Scripting
I am pretty new to Unix shell scripting, but wondered if anyone could help (in layman's terms if possible!!) :)
I have a shell script which ultimately sends an alert to an email address if part of a batch of programs fails. Here's the script that sends the email:
Script: 6check.csh... (8 Replies)
Discussion started by: tjhorwood
8 Replies
4. Shell Programming and Scripting
hi guys,
I need a shell script to send mail automatically to my personal mail id like xxxx@hotmail.com but while experimenting with "mail" command I faced following problems.
cat text1.txt | mail -s 'test mail' xxxx@hotmail.com
command successfully executed
but while
checking for... (4 Replies)
Discussion started by: rrd1986
4 Replies
5. HP-UX
Hi,
I am executing the following command in order to send a file as an attachment:
mailx -s "Subject" emailID@xyz.com < Testfile.txt
Instead of attaching the file Testfile.txt, it is writing the contents of the file in the email message body. Please advise on how I can send the file as an... (7 Replies)
Discussion started by: sangharsh
7 Replies
6. Shell Programming and Scripting
Hi,
I need to send email from a shell script. i echoed some information to a file and i am doing cat command in the email syntax
thanks (2 Replies)
Discussion started by: rocky1954
2 Replies
7. Shell Programming and Scripting
Hi Fellas,
I have a script that queries a sybase DB through isql and appends to a file, say file.csv
I want to use the mail command in the shell script to email the file to me. i tried the following command but it doesn't work. can any one suggest whats wrong here. Note that i need the file... (2 Replies)
Discussion started by: Irishboy24
2 Replies
8. Shell Programming and Scripting
Hi,
Im having a bit of an issue with using the uuencode command and sending out an email.
My aim is to send an email out which has a body and also have attachments. Currently I can either get one or the other and not both on the same email.
uuencode... (4 Replies)
Discussion started by: 02JayJay02
4 Replies
9. Shell Programming and Scripting
Hello! I am writing a KornShell script that (in addition to other things) sends a file from a Unix directory to a SharePoint directory. However when executing the script there is no sign of the file on the SharePoint.
I have tested the script using my personal email as the destination and the... (3 Replies)
Discussion started by: mattkoz
3 Replies
10. Shell Programming and Scripting
Can anyone help me out how to send the email without the word success
while sending to the recipient.
echo "success" | mailx -s "webshell instance has been started noiw" implementation@tkcl.com (8 Replies)
Discussion started by: ramkumar15
8 Replies
ABIWORD(1) General Commands Manual ABIWORD(1)
NAME
abiword -- flexible cross-platform word processor
SYNOPSIS
abiword [OPTIONS] [FILENAME...]
DESCRIPTION
AbiWord is a full-featured, efficient word processing application suitable for a wide range of word processing tasks, and extensible with a
variety of plugins. It integrates with enchant(1) to provide spell-checking.
OPTIONS
-g WxH[+X+Y], --geometry=WxH[+X+Y]
Specifies window geometry at startup.
-E PLUGIN, --plugin=PLUGIN
Execute the specified plugin instead of the main application.
--import-extension=EXT
Import the given file as if it had extension EXT, overriding automatic file type detection.
-u PROFILE, --userprofile=PROFILE
Use PROFILE instead of the default ~/.AbiSuite/AbiWord.Profile to read and store settings.
-t DEST, --to=DEST
Convert the given file to another format, writing the result to DEST. The format of DEST is determined by its extension.
See also --to=FORMAT and --to-name.
-t FORMAT, --to=FORMAT
Convert the given files(s) to the given format. Unless explicitly specified with --to-name, the original filename will be used (with
a different extension, if necessary). See also EXAMPLES.
The more popular values for FORMAT include:
abw Abiword XML format (zabw for gzip, bzabw for bzip2 compression)
dbk DocBook XML
doc Microsoft Word binary format
docx Office Open XML (newer Microsoft Word versions)
html Hypertext Markup Language
kwd KWord
odt OpenDocument Text
pdf Portable Document Format
rtf Rich Text Format
sxw OpenOffice.org Writer 1.0
txt Plain text
--to-name=DEST
Only useful in conjunction with --to=FORMAT. Specifies where the converted document shall be written to.
--verbose=LEVEL
Set level of verbosity [0-2], 2 giving the most detailed output.
-h, --help
Display a short help message and exit.
--version
Report the version of AbiWord.
EXAMPLES
To convert the document example.abw to RTF:
abiword --to=rtf example.abw
The resulting file will be named example.rtf.
To print a document:
abiword --to=ps --to-name=fd://1 FILENAME | lp
REPORTING BUGS
Report bugs to the Bugzilla bug tracking system at <http://bugzilla.abisource.com>.
SEE ALSO
enchant(1)
HISTORY
AbiWord was started in 1998 by AbiSource Inc., a company founded by SourceGear corporation. The initial plan was to build a free office
suite named AbiSuite, encompassing word processing, spreadsheet and presentation applications. As they didn't have a usable product when
their venture capital was up, the code already developed (namely AbiWord) was made open source. AbiWord development was subsequently taken
over by volunteers and is driven by the community to date.
AbiWord 2.8 2009-12-11 ABIWORD(1)