RE: format for manually constructing outgoing email text file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Another option is to just use the mail command.

cat message.txt | mail -s 'subject here' recipient@xxxxxxxxxx

for more options see the mail man page.

-Tobias

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] 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@xxxxxxxxxx>
    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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux