Hi,

I would like to rephrase my question :-) I want to send out a mail to some
address every Saturday. I want this mail to go out even if I do not login on
Saturday. I figured that if I use crontab or the at program and put this in
my startup scripts (rc.local maybe), I can be assured that the mail goes out
on Saturday. But the problem was that the mail goes out as a mail from root.
How can I overcome this problem? Can I overwrite the from address in the
command line while using the "mail" program.

This one did not work: " mail -f [EMAIL PROTECTED] -s "Test"
[EMAIL PROTECTED] < mail_body.txt "

Regards,
Sam

-----Original Message-----
From: Suresh Ramasubramanian [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 23, 2000 12:32
To: [EMAIL PROTECTED]
Cc: Simanta J Handique
Subject: Re: [LIH] Re: Changing the From header when using mail


By "mail program" I assume Sam means

$ mail

mail -f <[EMAIL PROTECTED]> will do very well.



-----------------------------------------------------------------------
LIH is all for free speech.  But it was created for a purpose - to help
people discuss issues about installing and running Linux.  If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.

Reply via email to