--yes. 

--at least that's what i do when i send a basic
text file to remind me of something that i've done.

[example:]

addr='[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]'
mailcmd=/usr/sbin/sendmail

(some work going on here)

$mailcmd $addr < /tmp/reminder.txt

[/example]


--but the binary file thing has gotten my attention.
this will just post text so i can glance at it
and say, 'yea' or 'that's not right' ...

--i think sendmail can do something with attachement
that are binary ... i forget off the top of me cap ...


-X


-----Original Message-----
From: Paul Jasa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 27, 2001 10:09 AM
To: 'Bob Showalter'; [EMAIL PROTECTED]
Subject: RE: Send e-mail attachment


Good question.  I think that is done so that you can write other things to
the LETTER prior to mailing it?  
Paul


-----Original Message-----
From: Bob Showalter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 27, 2001 8:02 AM
To: Paul Jasa; [EMAIL PROTECTED]
Subject: RE: Send e-mail attachment
Importance: High


> -----Original Message-----
> From: Paul Jasa [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 27, 2001 9:53 AM
> To: 'paul beckett (JIC)'; [EMAIL PROTECTED]
> Subject: RE: Send e-mail attachment
> 
> 
> Paul,
> one of my favorite lines in my scripts is:
> 
> open LETTER, "|mailx -s "SUBject Here!!" someone\@somewhere.com <
> /some/file";

I don't understand this code. What do you do with LETTER?
It should be a pipe to mailx stdin, but you've redirected
that, so writes to LETTER don't go anywhere, do they?

Why not just use system()?

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to