note 78980 deleted from function.mail by nlopess
| From: | nlopess@php.net | Date: | Mon, 05 Nov 2007 23:35:01 +0000 |
| Subject: | note 78980 deleted from function.mail by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-132022@lists.php.net to get a copy of this message | ||
Note Submitter: B1FF
----
How do i get this to work?
<?php
/* This will give an error. Note the output
* above, which is before the header() call */
header('Location: http://www.PAGE-TO-REDIRECT-TO.com/');
mail('name@website.com', 'TEST', $_SERVER['REMOTE_ADDR']);
?>