I have successfully modified an existing script that does the following:

1. uploads a file
2. takes the contents of a form and emails whoever,  together with a link to
the file (file exists on our web server).

My problem is this. Everytime the email is delivered (linux red-hat 7.1),
the sender is 'nobody'. I know this is probably some sort of server default
and I would like to change this to something else...like 'The Company Corp.'

Here is the snippet that I am using to send the emails:

> sub Email_User {
> $sj="-s \"the Company Digital Proofs\"";
> system("mail $sj " . "$email_addresses" . " < ../TheCompany/uploads/" .
> "$descrip");
> }

I guess the variable $sj = -s refers to the subject. Can someone direct me
to where/what/how I can adjust the sender to anything other than 'nobody'
which is what the users are seeing now.

If I am not giving you enough information, forgive me...I am still learning..
-- 
Debbie McNerney, Systems Dept.
The News-Journal Corp.®
901 6th Street
Daytona Beach, Florida 32117
386-252-1511 ext. 2314
[EMAIL PROTECTED]


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to