formmail.php returning error message

I have a simple inquiry form which is returning a series of errors.

I have boiled it down to the point where it is failing. I have put up a test page here:

http://www.biarritz.com.au/test2.html
This page works fine.

http://www.biarritz.com.au/test3.html
This page has just one extra text box and it is returning the error messages. BUT, the email output still arrives ok.

The proper form has more fields than this but this is the point where it starts to fail.

These forms are sending to a test email account so feel free to submit them.

I am hoping someone can help explain what is wrong here. Thanks very much.

Here are the error messages:

Notice: Undefined index: mail_newline in /vservers/biarritzcoma/htdocs/formmail2.php on line 375

Notice: Undefined index: alias_method in /vservers/biarritzcoma/htdocs/formmail2.php on line 404
Note: this one appears many times.

Notice: Undefined variable: return_path in /vservers/biarritzcoma/htdocs/formmail2.php on line 428

Warning: Cannot modify header information - headers already sent by (output started at /vservers/biarritzcoma/htdocs/formmail2.php:404) in /vservers/biarritzcoma/htdocs/formmail2.php on line 572

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

php.ini

Check the php.ini file on your server for an "error_reporting" setting. The default value should be: E_ALL & ~E_NOTICE which excludes "notice" messages from being output.

-Andrew Riley

User login