# PHP Mailer

**URL:** <https://forum.kirupa.com/t/php-mailer/271508>\
**Category:** Uncategorized\
**Created:** [September 23, 2008, 10:04pm UTC](https://forum.kirupa.com/t/php-mailer/271508 "2008-09-23T22:04:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Butters](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Butters](https://forum.kirupa.com/u/Butters)\
**Post date:** [September 23, 2008, 10:04pm UTC](https://forum.kirupa.com/t/php-mailer/271508/1 "2008-09-23T22:04:04Z")

</div>

Having trouble with a simple PHP mail form, here’s the PHP for it:

```php
<?php
  $name = $_REQUEST['name'] ;
  $email = $_REQUEST['email'] ;
  $phone = $_REQUEST['phone'] ;
  $date = $_REQUEST['date'] ;
  $message = $_REQUEST['message'] ;

  mail( "guestlist@glowstudents.com", "Request for Guestlist at GLOW.",
	$message);

  header( "Location: http://www.glowstudents.com/test/guestlist2.html" );
?>

```

How do I edit it so that all the information (name, email, phone, date and message) are sent in an email to that address? I’v tried putting the other $ tags in but it just gives me errors everytime.
