On Sat, 17 Feb 2001 08:31, Chris Anderson wrote:

Oy - your version of Windows appears to be lagging a few days behind the 
real world :=)

> true, here it is. Have fun...sorry ^_^
>
> <?php
> include "Nav.inc";
> ?>
>
> <img src=images/feedback.jpg>
>
> <?php
> if(isSet($send) && ($send == 1))

Isn't this redundant? Your test is really if send = 1 do something, 
otherwise do something else.

> {
>
>   error_reporting(0);
>   $Address = "[EMAIL PROTECTED]";
>   $Subject = "Feedback From NullTechnology.com";
>   $Message = str_replace("\n","<br>",$Message);
>   $Mail = mail($Address, $Subject, "$Message \n From: $Return");

This is wrong ^^^^ The additional stuff needs to go in the fourth 
parameter if you want it to show up in the From field,; as you have it, 
it will be tacked on the end of the message body.

$from = "From: $Return";
$Mail = mail($Address, $Subject, $Message, $Return);

I wonder if you need to do some text wrapping? Although Outlook generally 
doesn't seem to care about such things, maybe something in the mail chain 
might.

>   if($Mail == 1)

and I think this will always be true once PHP has offloaded the mail to 
the MTA, even if the MTA drops it on the floor.

<SNIP more code>

Failing that, you might need to look carefully at the actual content of 
the message - not getting any unexpected characters or somesusch???

-- 
David Robley                        | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet                            | http://auseinet.flinders.edu.au/
            Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to