[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] PGP for dummys
- Subject: Re: [cobalt-users] PGP for dummys
- From: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri May 10 05:50:06 2002
- Organization: Front Street Networks LLC
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Friday 10 May 2002 08:01 am, Paul Brown wrote:
> >Also to get rid of the no subject, I change dthe syscall to;
> >
> >system("echo \"$final_data\" | mail -s 'Credit Card Order'
> >$Config{'recipient'}");
> >
> >One line, now the subject is Credit Card Order
>
> How can I amend the script so that the "From" field is the details of the
> actual guy that filles in the form PaulBrown <paulb@xxxxxxxxxxxx> kinda
> thing.
>
> At present all I get in the from field is the username of the client
>
I don't think you can do that using 'mail'
Possibly modifying the script to use sendmail may work.
But even then I don't think sendmail will like it, if the mail isn't FROM an
authorized source for the server.
--
Gerald Waugh
http://www.frontstreetnetworks.com :: Phone. [011] 203.785.0699
Front Street Networks LLC | SOHO Networks & Web Site Hosting
229 Front Street, Ste. #C, New Haven, CT, 06513-3203 United States