03-22-2018
$ sudo apt-get install mailutils
# yum install mailx
echo "Message Body Here" | mail -s "Subject Here" user@example.com -A backup.xls
$ mail -s "Subject here" -t user@example.com -A backup.xls < message.txt
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have been sending an email attachment from my unix box, but keep getting an error? All though the recipient still receives the email and attachment. Will this error cause problems in the future and how to I cure it?
$ uuencode PReSvPRINTER.txt file | mailx -s "File" me@world.com
uuencode:... (1 Reply)
Discussion started by: dbrundrett
1 Replies
2. UNIX for Dummies Questions & Answers
Is there any way we can send file attachemnts through mails from a unix server. Does the 'mail' command have such an option ?? (1 Reply)
Discussion started by: Rohini Vijay
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have to send the query output as an excel attachmet from UNIX Shell script, for this i have written following shell script and sql file this shell script has created the ho.xls file with correct query output but it doesn't generate the mail that shold contain query output as an excel... (5 Replies)
Discussion started by: karthikeyanjo
5 Replies
4. Shell Programming and Scripting
Hi, I need to send a email as a txt file and i used the commands,
(echo `echo $EMAIL_MSG` ; uuencode "file.txt" "file.txt" ) | mailx -s "$EMAIL_SUBJECT" "$EMAIL_ID"
I received email with a attachment with all data but i get all of them in one row.
For example:
If file.txt contains value... (1 Reply)
Discussion started by: skcvasanth
1 Replies
5. Shell Programming and Scripting
#!/bin/ksh
(
echo "MIME-Version: 1.0"
echo "Content-Type: multipart/mixed; boundary=frontier"
echo "--frontier"
echo "Content-Type: text/html"
echo "Content-Disposition: inline"
echo "\n"
echo "<html><body><h1>this is html formatted text</h1></body></html>"
echo "--frontier"
echo... (1 Reply)
Discussion started by: thulasidharan2k
1 Replies
6. Shell Programming and Scripting
Hi,
I am trying to send email with attachment using mailx command. I am using the folowing command:
uuencode XX_HWSW_BUYERWISE_88963631_1.xls XX_HWSW_BUYERWISE_88963631_1.xls | mailx -s "Test Mail as Attachment" oracleams@xyz.com
I get the email in the inbox. However, when I try to open the... (5 Replies)
Discussion started by: asp_julius
5 Replies
7. UNIX for Advanced & Expert Users
Hi,
I am using Sun solaris OS unix server
I am trying to send mail with an attachment using below script
cat test.txt;uuencode test.txt test.txt|mailx -s "$subject" someone@somewhere
I m getting mails but with no attachment.
Hence i manipulate the script as below and i am... (2 Replies)
Discussion started by: sv0081493
2 Replies
8. Shell Programming and Scripting
Hi Team,
I have written the following code snippet to send mail with attachment to recipient. But I am getting mail with attachment. But the file is empty. All the 3 Attachment* size is more than 80KB.
Not sure what is wrong in the command.
MSG_BODY1="hi"
LOG_FILE="a/b/c/log1.log"... (2 Replies)
Discussion started by: kmanivan82
2 Replies
9. Shell Programming and Scripting
How to Send a mail with multiple attachment also differenet extension using uuencode in AIX.
Can you please help me.
---------------------------------------------------------
I have below code. But attachment not been attached.
(cat /aceapp/QATD011R4/ace.ofac/testofac/results/;uuencode... (9 Replies)
Discussion started by: Swapnil Mawle
9 Replies
10. UNIX for Beginners Questions & Answers
i am trying to get an SQL output into an excel attachment and the other output into mail body as excel format. i am getting the excel format in the mail body, but i am not getting the excel attachment. and the output is coming in one cell in the excel. is it possible to get the excel output with... (11 Replies)
Discussion started by: maddelav
11 Replies
LEARN ABOUT DEBIAN
font::ttf::gdef
Font::TTF::GDEF(3pm) User Contributed Perl Documentation Font::TTF::GDEF(3pm)
NAME
Font::TTF::GDEF - Opentype GDEF table support
DESCRIPTION
The GDEF table contains various global lists of information which are apparantly used in other places in an OpenType renderer. But
precisely where is open to speculation...
INSTANCE VARIABLES
There are 4 tables in the GDEF table, each with their own structure:
GLYPH
This is an Font::TTF::Coverage Class Definition table containing information as to what type each glyph is.
ATTACH
The attach table consists of a coverage table and then attachment points for each glyph in the coverage table:
COVERAGE
This is a coverage table
POINTS This is an array of point elements. Each element is an array of curve points corresponding to the attachment points on that
glyph. The order of the curve points in the array corresponds to the attachment point number specified in the MARKS coverage
table (see below).
LIG This contains the ligature caret positioning information for ligature glyphs
COVERAGE
A coverage table to say which glyphs are ligatures
LIGS An array of elements for each ligature. Each element is an array of information for each caret position in the ligature (there
being number of components - 1 of these, generally)
FMT This is the format of the information and is important to provide the semantics for the value. This value must be
set correctly before output
VAL The value which has meaning according to FMT
DEVICE For FMT = 3, a device table is also referenced which is stored here
MARKS
Due to confusion in the GDEF specification, this field is currently withdrawn until the confusion is resolved. That way, perhaps this
stuff will work!
This class definition table stores the mark attachment point numbers for each attachment mark, to indicate which attachment point the
mark attaches to on its base glyph.
METHODS
$t->read
Reads the table into the data structure
$t->out($fh)
Writes out this table.
perl v5.10.1 2009-01-29 Font::TTF::GDEF(3pm)