[ale] Command to force an email

Joe Knapka jknapka at earthlink.net
Wed Sep 27 15:17:42 EDT 2000


Jeff Hubbs wrote:
> 
> I'm invoking sendmail -t in a script to do just that.  I don't have it
> running as a daemon.  I also am including the message text in the script
> itself although there has got to be some way to incorporate a text file.

Sure, use the "mail" commands as John described, which queues the
message for delivery. Then invoke "sendmail -q" to process the mail
queue. (Does this work using -t as well? The sendmail docs imply
-t does something entirely different.)

-- Joe
 
> - Jeff
> 
> > -----Original Message-----
> > From: Armsby John-G16665 [mailto:John.Armsby at motorola.com]
> > Sent: Wednesday, September 27, 2000 3:00 PM
> > To: 'ale at ale.org'
> > Subject: [ale] Command to force an email
> >
> >
> > I have a script which sends an email.
> >
> > mail -s test john at myplace <message.txt
> >
> > I would like to force an immediate mailing as soon as the
> > script executes.
> > I think Linux is waiting for some time before sending the
> > message. Isn't
> > there a command I can invoke to push the mail out immediately?
> >
> > Thanks,
> >
> > John
> > --
> > To unsubscribe: mail majordomo at ale.org with "unsubscribe ale"
> > in message body.
> >
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.

-- 
*** Joseph Knapka ***
In any formula, constants (especially those obtained from handbooks)
are to be treated as variables.
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list