Thanks for your reply James At the time I read your response I had no idea, so I remembered http://www.echoecho.com/index.html
just down from near the top they have a "DOMAIN LOOKUP TOOL" e.g. I put in dubdubdub.net.nz and tick the "Get Server Info and Uptime" then "go" and it tells me Linux Apache/2.0.46 (CentOS) 17-Apr-2007 203.89.178.169 I like the graph, I wonder how I could make the vertical axis go "my net income $ * 1000" >From Eric ----- Original Message ----- From: James Keeline <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, June 02, 2007 1:33 AM Subject: Re: [php-list] Email from web site --- Eric Richards <[EMAIL PROTECTED]> wrote: > Hi all > Any mail from my web site form any visitor might send is sent from > [EMAIL PROTECTED] > How can I change this? > > <?php > $to = '[EMAIL PROTECTED]'; > $subject = 'the subject'; > $message = 'hello'; > $headers = 'From: [EMAIL PROTECTED]' . "\r\n" . > 'Reply-To: [EMAIL PROTECTED]' . "\r\n" . > 'X-Mailer: PHP/' . phpversion(); > > mail($to, $subject, $message, $headers); > ?> > > never worked, or should I say everything work OK except for the $headers > part > > I wonder what MUA stands for as in "The addition of basic headers, telling > the MUA the From and Reply-To addresses:" > > From Eric The MUA is the Mail User Agent -- essentially the mail reader or client program such as Outlook, Eudora, etc. The MTA is the Mail Transport Agent -- the server such as SendMail, QMail, PostFix, Exim, or Exchange. Are you, by chance, using a Windows server to run your PHP? Linux/Unix servers with the MTAs available for those platforms seem to do a pretty good job with using the From: values supplied in PHP. The Windows ones often do not. It is one of the differences between running PHP on Windows or a Linux/Unix OS which can cause frustrations for developers. James Keeline Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links
