On Wed, Sep 27, 2000 at 04:08:03PM -0500, Jose de Jesus Rodriguez Ramirez wrote:
<snip>
> 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???

   host:~{1} $ echo "To: [EMAIL PROTECTED]
   > Subject: test
   > From: [EMAIL PROTECTED]
   > 
   > this is the body...blah
   > blah
   > blah blah blah" | qmail-inject
   host:~{2} $

That'll work in bash. In csh and tcsh you'll need backslashes at the end
of each line.

jon

Reply via email to