# propertyhive/1.4.47/includes/admin/views/html-admin-matching-properties-email.php

Property Hive, version 1.4.47. 54 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/1.4.47/code/includes/admin/views/html-admin-matching-properties-email.php
- Raw: https://pluginprobe.com/plugins/propertyhive/1.4.47/raw/includes/admin/views/html-admin-matching-properties-email.php
- Modified: 2019-03-11T08:39:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/propertyhive/1.4.47/code/includes/admin/views/html-admin-matching-properties-email.php#L10-L20`.

```php
<?php
$current_user = wp_get_current_user();
?>
<h1>Emailing <?php echo count($_POST['email_property_id']); ?> Suitable Properties To <?php echo get_the_title($contact_id); ?></h1>

<table class="form-table">

    <tr valign="top">
        <th scope="row" class="titledesc"><?php echo __( 'To', 'propertyhive' ); ?></th>
        <td class="forminp">
            <input type="text" name="to_email_address" value="<?php echo get_post_meta( $contact_id, '_email_address', TRUE ); ?>" style="width:100%;">
        </td>
    </tr>

    <tr valign="top">
        <th scope="row" class="titledesc"><?php echo __( 'From Name', 'propertyhive' ); ?></th>
        <td class="forminp">
            <input type="text" name="from_name" value="<?php

                echo get_bloginfo('name');

            ?>" style="width:100%;">
        </td>
    </tr>

    <tr valign="top">
        <th scope="row" class="titledesc"><?php echo __( 'From Email Address', 'propertyhive' ); ?></th>
        <td class="forminp">
            <input type="text" name="from_email_address" value="<?php

                if ( trim($current_user->user_email) != '' )
                {
                    echo $current_user->user_email;
                }

            ?>" style="width:100%;">
        </td>
    </tr>

    <tr valign="top">
        <th scope="row" class="titledesc"><?php echo __( 'Subject', 'propertyhive' ); ?></th>
        <td class="forminp">
            <input type="text" name="subject" value="<?php echo $subject; ?>" style="width:100%;">
        </td>
    </tr>

    <tr valign="top">
        <th scope="row" class="titledesc"><?php echo __( 'Email Body', 'propertyhive' ); ?></th>
        <td class="forminp">
            <textarea name="body" style="width:100%; height:300px;"><?php echo $body; ?></textarea>
        </td>
    </tr>

</table>
```
