"Rodney" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I'm new to php. I'm having trouble making the mail function work.
> I wrote a simple mail script that supports mail delivery when a user
> fills out a form. It's not working.
>
> The editor tells me this is the problem:
>      mail("[EMAIL PROTECTED]", "Feedback", $msg, $mailheaders);
> However I don't see it.

I don't see anything offhand either;

What is the error message?
Try show_source() to check what the interpreter is seeing.
Try function_exists("mail") to make sure mail() is available.
Run phpinfo() and check your SMTP set-up.
Try mailing with $msg = "" and no extra headers.

Note that the mail RFC says that header lines should end
in 0x0D 0x0A, ie "\r\n"; however, if your script runs on a
Windows server, it may automatically expand "\n" to "\r\n"
anyway.



-- 
PHP Windows 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