11-15-2000
I've written a a script which generates a report file, saved to a unix directory. I need to transfer it, via email, to some users. The command I'm using in my script is:
(note that subject & cur_address are set in the script prior to this line)
cat /u/sandyl/sm_o_commdt_archive/c | uuencode weekly_commiss.doc | mail -s ",subject,cur_address
The file gets emailed and attached correctly, but the problem is that the weekly_commiss.doc is 132 chars wide, so it wraps when I open it in Word. Even if I change the setup to landscape within Word, it still wraps some of the characters.
Is there any way in unix to either change the font size smaller, or some other formatting, such that when it gets emailed it will already be in the appropriate format for the user to receive it?
Thanks for your help.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've written a a script which generates a report file, saved to a unix directory. I need to transfer it, via email, to some users. The command I'm using in my script is:
(note that subject & cur_address are set in the script prior to this line)
cat /u/sandyl/sm_o_commdt_archive/c | uuencode... (3 Replies)
Discussion started by: slivi
3 Replies
2. UNIX for Dummies Questions & Answers
We have been trying to get an email from unix to Lotus Notes to work. We finally got it to work with the following code:
cat filename | uuencode filename | mailx -s "subject title" email address
Now our problem is that Lotus Notes doesn't show the paper clip icon, indicating an attachment... (3 Replies)
Discussion started by: cowgilm
3 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I have searched the FAQ and find that there is some threads related to this subject.
But can you please give an examples on how to send attachment to Lotus Notes email through UNIX?
Since i have gone through the RFC and the URL. But i still have no idea on it.
Please give some... (7 Replies)
Discussion started by: wilsonchan1000
7 Replies
4. Shell Programming and Scripting
Hello All,
This is a common question that I found lot of results in the forums.
I am trying to use uuencode to attach a file and send email. I have no issues sending email, but not able to attach any files using sendmail.
Is uuencode part of sendmail or does 'uuencode' utility need to be... (1 Reply)
Discussion started by: chiru_h
1 Replies
5. Shell Programming and Scripting
Hi,
I have a shell script which send email with an attachment in the form of an email. However, the when I open the attachment, all the data comes in one column. How do I format the data in the excel sheet while sending the email?
Thanks (8 Replies)
Discussion started by: bdebroy
8 Replies
6. AIX
I am using the following command to send PDF attachment with a mail.
uuencode <attachment.pdf> <attachment.pdf>|mailx -s <subject> <mail_id> < <Message_file.txt>
This one send the message with attachment. I would like send PDF attachment with the mail
Can any one help with this issue ?
... (0 Replies)
Discussion started by: sunjup
0 Replies
7. Shell Programming and Scripting
Hi,
I have a syntax for mail attachment as
$EMAIL "Wrapper $wrapper_script_name has failed" " $wrapper_script_name has Failed " $failed_email_address
and $EMAIL is as below
MSGSub=${1}
MSGText=${2}
RMAIL=${3}
#set LANG=''
export LANG=''
echo "${MSGSub}" | mailx -s "${MSGText}" ... (1 Reply)
Discussion started by: satgur
1 Replies
8. Shell Programming and Scripting
Team,
I have the below code, which is working fine and it sends the html report using sendmail command.
I want to attach one more file ( which goes as attachment ) in that email. How to achieve it.
i tried with uuencode. But no luck :mad:
outputFile="/tmp/out.html"
(
echo... (2 Replies)
Discussion started by: itkamaraj
2 Replies
9. Shell Programming and Scripting
Hello everyone,
So, here is my requirement.
I want to run an SQL query and export the result in an excel file and send that as an attachement in an email to the intended receipients.
Please help me understand how to do that.
How to connect to database, how to export the output in an excel... (3 Replies)
Discussion started by: Mohdrafi12
3 Replies
10. UNIX for Advanced & Expert Users
Hi - How would you read in the attachment from your unix mail account? The attachment is in BASE64 so I need to isolate those lines so I can convert them. The number of lines varies from a few to a few hundred. To complicate matters, the mail box gets non related emails I want to ignore. The lines... (3 Replies)
Discussion started by: Oliver Burns
3 Replies
UFOND(1) General Commands Manual UFOND(1)
NAME
ufond - convert UNIX font files into Macintosh format
SYNOPSIS
ufond [-dfont] [-macbin] [-res] [-script name] fontfile...
DESCRIPTION
The program ufond takes UNIX font files, wraps them in a Macintosh resource fork, creates a family for them, and then wraps that in a
macbinary or binhex file.
The program reads one or more font files, specified at the end of the command line, using any of the following formats:
Glyph Bitmap Distribution (.bdf)
TrueType (.ttf)
OpenType (.otf)
POSTSCRIPT Binary format (.pfb)
All fonts with the same font family name will be placed in the same FOND. The program associates the name of a POSTSCRIPT font with a bit-
map font, as well as handling bold, italic, and other variants properly.
The generated Macintosh files will be in one of three formats:
MacBinary (default)
dfont (data fork resource file format, used by MacOS X)
bare resource fork (you have to know how to transform this into a real resource fork)
The program normally assumes that your fonts are in the roman script system. If this is not true you may specify a script directly. The
program knows the names of a few scripts (greek, cyrillic, hebrew, arabic) which may be entered directly; otherwise you must know the Mac-
intosh script number.
OPTIONS
-dfont Generate Macintosh files in dfont format.
-macbin
Generate Macintosh files in MacBinary format.
-res Generate Macintosh files in resource format.
-script name
Specify the Macintosh script number.
AUTHOR
George Williams (gww@silcom.com).
Manual page by Ziying Sherwin (sherwin@nlm.nih.gov) and R.P.C Rodgers (rodgers@nlm.nih.gov), Lister Hill National Center for Biomedical
Communications, U.S. National Library of Medicine.
23 October 2002 UFOND(1)