PHP E-Mail Form w/Options
<p>I need to include the first code (which calls the e-mail from a WordPress options panel) in the second code where it says email@mail.com.  I tried to include " around the code, but it doesn't seem to work.  I also tried to strip slashes, but to no avail.</p>

<p>How I call the e-mail</p>

<pre><code>&lt;?php echo get_option('to_email'); ?&gt;
</code></pre>

<p>The relevant part of my contact form:</p>

<pre><code>    if(!isset($hasError)) {

        $emailTo = 'email@mail.com';
        $subject = 'Contact Form Submission from '.$name;
        $sendCopy = trim($_POST['sendCopy']);
        $body = "Name: $name \n\nEmail: $email \n\nComments: $comments";
        $headers = 'From: My Site &lt;'.$emailTo.'&gt;' . "\r\n" . 'Reply-To: ' . $email;

        mail($emailTo, $subject, $body, $headers);
</code></pre>
