# What should my mailer.php look like?

**URL:** https://forum.kirupa.com/t/what-should-my-mailer-php-look-like/256325
**Category:** programming
**Created:** [April 2, 2008, 1:20am UTC](https://forum.kirupa.com/t/what-should-my-mailer-php-look-like/256325 "2008-04-02T01:20:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![psoxie](https://avatars.discourse-cdn.com/v4/letter/p/e19b73/32.png) [@psoxie](https://forum.kirupa.com/u/psoxie)
#### Post date: [April 2, 2008, 1:20am UTC](https://forum.kirupa.com/t/what-should-my-mailer-php-look-like/256325/1 "2008-04-02T01:20:25Z")

</div>

Please view in safari:  
[http://southpinecafe.com/employment.php](http://southpinecafe.com/employment.php)  
I want to create the PHP that will send the info from this page to multiple emails.

```auto

<form id="application" name="application" method="post" action="application.php">
<table cellspacing="0" cellpadding="0" >
<tr>
    <td>
    <label for="First Name"><b><u>First Name:</u></b></label>
    </td>
        <td><label for="First Name"><b><u>Last Name:</u></b></label>    
        </td>
<tr>
<tr>
    <td><input name="First Name" type="text" class="widebox" id="First Name" />
    </td>
        <td><input name="First Name" type="text" class="widebox" id="First Name" />
        </td>
<tr>
</table><br />
<b><u>Contact Information:</u></b><br />
    <label for="Phone"><b>Phone:</b></label><br />
    <input name="Phone" type="text" class="widebox" id="Phone" /><br />
        <label for="Address"><b>Address:</b></label><br />
<input type="text" id="Address Line 1" onfocus="if(document.getElementById('form-search').value == 'Enter keyword(s)') { document.getElementById('form-search').value = ''; }" title="Search the Site" value="110 South Pine Street" /><br />
<input type="text" id="Address Line 2" onfocus="if(document.getElementById('form-search').value == 'Enter keyword(s)') { document.getElementById('form-search').value = ''; }" title="Search the Site" value="Nevada City, CA 95959" />

<br /><br />
<label for="Availbility"><b><u>Availability:</u></b><br />
Shifts at South Pine Cafe are typically from 8am to close (usually around 3 or 4 pm)</label><br />
<input type="checkbox" name="your_selection">Sunday<br />
<input type="checkbox" name="your_selection" >Monday<br />
<input type="checkbox" name="your_selection" >Tuesday<br />
<input type="checkbox" name="your_selection">Wednesday<br />
<input type="checkbox" name="your_selection" >Thursday<br />
<input type="checkbox" name="your_selection" >Friday<br />
<input type="checkbox" name="your_selection" >Saturday<br />

<label for="issues">Please describe any regular scheduling issues that might interfere with your availibility</label>
<textarea name="issues" cols="60" rows="3" class="widebox" id="issues"></textarea><br />

<label for="Position"><b><u>Desired Position:</u></b></label><br />
<input type="checkbox" name="your_selection"">Host/Hostess<br />
<input type="checkbox" name="your_selection" >Server/Waitress/Bartender<br />
<input type="checkbox" name="your_selection" >Cook/Prep Cook/Line Cook<br />
<input type="checkbox" name="your_selection" >Dish Washer<br />
<input type="checkbox" name="your_selection" >First Position Available<br />

<div align="center" id="submit_form"><input name="submit" id="submit" type="submit" value="Submit My Application!" /></div>

</form>

```
