[SunHELP] mailx question one liners

Simon Jespersen shj at pine.dk
Thu Oct 31 04:52:02 CST 2002


Hi
Yhis may be a stuppid question but i have been looking and testing for 60
minuttes now.

How can i send a message from a script without pipe the message into the
mailx program

This works fine

echo testthismail | mailx -s "testmail from e" shj at pine.dk
testthismail will bw the message of the mail.

Now i need to do the mailx from a perl script and i dont want to pipe the
message into the command, how can i do it another way.

Kind regards

Simon Jespersen
Project engineer
Pine Tree Systems A/S
Damhaven 5d
DK-7100 Vejle
Email: shj at pine.dk
Phone: +4575724477



More information about the SunHELP mailing list