mail
Hi,
In Unix I can use mailx to change the return address with the -r option, ie. mailx -s "test" -r nobody someone@somecompany.com < /tmp/foo How can I change the return address using mail or sendmail in Linux in a script. |
Fairly simple - for example:
I've a script that runs on my website and lets me know when someone leaves me a comment. So, in my AddComment script, there's Code:
# Hijack the server's sendmail to send an email The actual text file containing the mail headers and the basic message is: Code:
[laura@cybermenology.com]$ cat emailtext |
All times are GMT -5. The time now is 04:34 PM. |