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

A shell script using mail



Hello,

I have created a shell script that creates new users once the userid is
created. And after
it is complete I use mail to send the e-mail to the client that there
account is setup. However
the e-mail is from:
Super-User <root@domain.com>

I have read through the man file for mail and cannot find a way to edit
this address.
Is there an option to edit the from address using mail, I would like to
change it to
support@domain.com instead of root@domain.com.

code snip
-------------------------------------------

mail newuser@otherdomain.com -s new_account -c support@domain.com

-------------------------------------------

Thank You,
Trent
surflorida@rack.neobeach.com
If the future didn't exist, somebody would have invented it.



Reply to: