09-07-2011
Not sure I'll be able to help with that. I tested sending mail to both the local system, and a main mail system and the output was placed on separate lines as expected. What are you using to read mail with? Maybe the reader isn't recognising newlines properly?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there any way that I can mailx to a distribution list without having a $HOME/.mailrc file?
We have a distribution list in Outlook for our group say group@something.com.
I am trting to do echo "Something"|mailx -s "Subject" group@something.com
it doesnt work
Any ideas?
Thanks (1 Reply)
Discussion started by: sm321
1 Replies
2. UNIX for Dummies Questions & Answers
Hi folks,
My input file's content:
You are line1
You are line2
You are line3
etc...
I need to write a script that for every line, it will send an e-mail and the body will hold the line:
Output(The e-mail that will be sent):
First e-mail: To: aaa Subject: bbb Body:You are line1... (4 Replies)
Discussion started by: hellsd
4 Replies
3. UNIX for Dummies Questions & Answers
If I use the "Mail" link instead of the "mail" link to ../mailx I get this error.
Mail so-n-so @whatever.com
mailx: NUL changed to @
Unknown command: "postmaster"
The email still goes through but i get the error.
If I use "mail" it goes thru without the error.
Any ideas?? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
4. UNIX for Advanced & Expert Users
Hello all,
how do I view the default mail configurations using the mailx problem? At the moment, I have an account, and all the mail to that account is being routed to an email address, how can I view this behaviour? Also, is there anyway I can view the default mail settings for a server without... (0 Replies)
Discussion started by: Khoomfire
0 Replies
5. HP-UX
Hi,
I have a shell script which has code like:
cat /tmp/MAIL_PCSD | mailx -m -s " PEWA Order Acknowledgement" $M1
and M1 is nothing but this
M1=`echo $x | awk ' {print $3}' `
If I pass absolute email address to $M1 it works fine. But, the thing is that it gets $M1 by reading some... (3 Replies)
Discussion started by: isingh786
3 Replies
6. Shell Programming and Scripting
I would like to get a solution ..
how can i attach more than one file to a mail using mailx
yep........ sure
if test.dat is the file
cat test.dat|uuencode test.dat|mailx -s "subject" mailid
can be used for attaching test.dat
how can we attach
test1.dat and test2.dat (4 Replies)
Discussion started by: anumkoshy
4 Replies
7. UNIX and Linux Applications
Hi,
I am not able to send direct mails from our unix server to our lotus notes id. It was fine until we upgrade our Lotus notes server. What are the changes need to add when we upgrade Lotus notes. Please advice.
It run in sh file
This is the statement
uuencode $RTDIR/$filename... (0 Replies)
Discussion started by: rajani_p
0 Replies
8. UNIX for Advanced & Expert Users
We are using mailx to send email alerts. On occasions, it is updating our Distribution list with the mesage content.
The following is the relevant portion of the script :-
MAILGROUP=`more $MDS/feeds/alerts/distribution.lst`
export MAILGROUP
echo " " | mailx -s "MDS Alert - Refresh Complete"... (6 Replies)
Discussion started by: Paul Byrne
6 Replies
9. Shell Programming and Scripting
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Regards,
Siram. (3 Replies)
Discussion started by: Sriram.Vedula53
3 Replies
10. UNIX for Dummies Questions & Answers
Hi Gurus,
I have a solaris zone. I am finding a issue in the situation below.
When I tried to send a mail in this format its failing.
: mailx -s "test mail f" xxxxxx@yy.com
But its working just fine if I use echo.
echo "test body"|mailx -s "test mail " xxxxxxx@yy.com
Is there... (1 Reply)
Discussion started by: rama krishna
1 Replies
LEARN ABOUT REDHAT
pamstack
pamstack(1) General Commands Manual pamstack(1)
NAME
pamstack - stack planes of multiple PAM images into one PAM image
SYNOPSIS
pamstack [-tupletype tupletype] [inputfilespec]
All options may be abbreviated to the shortest unique prefix.
DESCRIPTION
Reads multiple PAM or PNM images as input. Produces a PAM image as output, consisting of all the planes (channels) of the inputs, stacked
in the order specified.
The output is the same dimensions as the inputs, except that the depth is the sum of the depths of the inputs. It has the same maxval.
pamstack fails if the inputs are not all the same width, height, and maxval. The tuple type is a null string unless you specify the -tuple-
type option.
pamchannel does the opposite of pamstack: It extracts individual planes from a single PAM.
Use pamtopnm to convert a suitable PAM image to a more traditional PNM (PBM, PGM, or PPM) image.
One example of using pamstack is that some Netpbm programs accept as input a PAM that represents graphic image with transparency informa-
tion -- tuple type "RGBA". In Netpbm, such images were traditionally represented as two images - a PPM for the color and a PGM for the
transparency. To convert a PPM/PGM pair into PAM(RGBA) input that newer programs require, do something like this:
pamstack -tupletype=RGBA myimage.ppm myalpha.pgm | pamtouil >myimage.uil
OPTIONS
-tupletype tupletype
This specified the tuple type name to be recorded in the output. You may use any string up to 255 characters. Some programs recog-
nize some names. If you omit this option, the default tuple type name is null.
SEE ALSO
pam(5)
AUTHOR
Copyright (C) by Bryan Henderson, San Jose CA 2000.08.05
01 May 2002 pamstack(1)