format for manually constructing outgoing email text file

Tobias Speckbacher tobias at quova.com
Wed Jun 9 22:14:32 UTC 2004


Another option is to just use the mail command.

cat message.txt | mail -s 'subject here' recipient at domain.com

for more options see the mail man page.

-Tobias

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Chris W. Parker
Sent: Wednesday, June 09, 2004 2:10 PM
To: General Red Hat Linux discussion list
Subject: RE: format for manually constructing outgoing email text file

Ed Wilts <mailto:ewilts at ewilts.org>
    on Wednesday, June 09, 2004 2:54 PM said:

> You don't want to do this.  Call sendmail to do the work. man sendmail

forgive me, but i just read the manpage and didn't see a clear answer. i
did however, notice the -qf option but i'm not sure if that's where i
should be focusing.

i'm also a little unclear by "you don't want to do this. call sendmail
to do the work." do you mean i should be writing out the entire message
to the command line one at a time (and forget about writing any files)
or do you mean i should still create the files (not necessarily in the
outgoing directory) and then make sendmail aware of them so that it can
process them?


thanks,
chris.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list





More information about the redhat-list mailing list