I'm using mailx from within a script, so I can't use it interactively open (MFH, "| mailx -s 'Subject' [EMAIL PROTECTED]") print MFH <<end; blah blah blah... end close MFH; Should I just be using mail? Do you know what the switch or option is for From: someoneelse? Rob Helmer <[EMAIL PROTECTED]> wrote: On Fri, Mar 08, 2002 at 06:05:07PM -0800, Rob Roudebush wrote: > > My CGI script shoots out an automated e-mail using mailx. Is there any way to change >the "nobody"? > -Rob
Hi Rob, Yes, you can change the "From:" header. Are you actually constructing an email and passing it to mailx? You should, specify the To:, From:, Subject: headers, then pass it to mail ( is there any reason to use mailx? It's supposed to be for interactive use. Thanks, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email!