I don't know why you don't have a "/var/qmail/bin/sendmail". There's 
one on my box. I'd do a 'find / -name sendmail '  if I were you.

to answer your question: 

you should be able to use to format :
                echo "MESSAGE" | /var/qmail/bin/qmail-inject [EMAIL PROTECTED]

that's if you just want a simple message. If you want something elaborate 
you have other options.


On Wed, Sep 27, 2000 at 04:08:03PM -0500, Jose de Jesus Rodriguez Ramirez wrote:
> Hi,
> 
> I am using qmail 1.03 with tcpserver, the problem is that i wrote some
> scripts to tell me when services go down, usually with sendmail I will do it
> with
> 
>       echo "message" | /usr/lib/sendmail [EMAIL PROTECTED]
> 
> with qmail I try to do the same but I can't, because the
> /var/qmail/bin/sendmail is gone... so I try to do it with qmail-inject
> 
>       echo To:[EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
> 
> and works... it sends a black email, my question is how to put some subject
> or body to the email???
> 
> can someone help me??
> 
> Thanks in Advance!
> 
> 
> Jose de Jesus Rodriguez
> MyWeb Mexico SA de CV
> email: [EMAIL PROTECTED]
> Tel. +52 (8) 336 7557
> Fax. +52 (8) 336 7558
> 

-- 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The word "spine" is, of course, an anagram of "penis".  This is true in
almost fifty percent of the languages of the Galaxy, and many people
have attempted to explain why.  Usually these explanations get bogged
down in silly puns about "standing erect".
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Graphic Rezidew
[EMAIL PROTECTED]

Reply via email to