Skip to content

Instantly share code, notes, and snippets.

@rbk
Created August 26, 2015 15:50
Show Gist options
  • Save rbk/f66b59f962c767ad4cbc to your computer and use it in GitHub Desktop.
Save rbk/f66b59f962c767ad4cbc to your computer and use it in GitHub Desktop.
Notification email for WP Contact Form 7
<h1>Quote Request</h1>
<style type="text/css">
body {
font-family: arial, helvetica, sans-serif;
}
table {
table-layout: fixed;
width: 600px;
border: 1px solid #eee;
}
tr:nth-child(odd){
background-color: #eee;
}
td {
padding: 10px;
}
th {
padding: 10px;
text-align: left;
}
</style>
<table>
<tr bgcolor="#eee">
<th>Job Type</th>
<td>[job_type]</td>
</tr>
<tr>
<th>Fence Type</th>
<td>[fence_type]</td>
</tr>
<tr bgcolor="#eee">
<th>Contact Name</th>
<td>[cname]</td>
</tr>
<tr>
<th>Email</th>
<td>[email]</td>
</tr>
<tr bgcolor="#eee">
<th>Phone</th>
<td>[phone]</td>
</tr>
<tr>
<th>Company</th>
<td>[company]</td>
</tr>
<tr bgcolor="#eee">
<th>Address</th>
<td>[address]</td>
</tr>
<tr>
<th>City</th>
<td>[city]</td>
</tr>
<tr bgcolor="#eee">
<th>State</th>
<td>[state]</td>
</tr>
<tr>
<th>Zip Code</th>
<td>[zip]</td>
</tr>
<tr bgcolor="#eee">
<th>Job Description</th>
<td>[description]</td>
</tr>
</table>
<br>
<p>This e-mail was sent from a contact form on Empire Fence (http://empirefence.net)</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment