Home>

I coded the LP inquiry form using the Responsive mail form
It is incorporated in the HTML site.

However, when I sent the test, the automatic reply did not reach the email address I entered.
I've been researching it all the time, but I can't find a solution because there is too little information.

If i have any advice, thank you.

<form action = "php/mailform.php" method = "post">        <label for = "rendou">Name<span>Required</span><span>Example) Taro Tokyo</span></label><input type = "text" name = "name_1" value = ""/><span>Example) Taro Tokyo</span>            <label for = "rendou">Furigana<span>Required</span><span>Example) Tokyo Taro</span></label><input type = "text" name = "read_1" value = "" /><span>Example) Tokyo Taro</span>            <label for = "rendou">Age<span>Required</span></label>    <select name = "age">        <option>Not specified</option>        <option value = "under18">Under 18</option>        <option value = "18">18</option>        <option value = "19">19</option>        <option value = "20">20</option>        <option value = "21">21</option>        <option value = "22">22</option>        <option value = "23">23</option>        <option value = "24">24</option>        <option value = "25">25</option>        <option value = "26">26</option>        <option value = "27">27</option>        <option value = "28">28</option>        <option value = "29">29</option>        <option value = "30">30</option>        <option value = "31">31</option>        <option value = "32">32</option>        <option value = "33">33</option>        <option value = "34">34</option>        <option value = "35">35</option>        <option value = "36">36</option>        <option value = "37">37</option>        <option value = "38">38</option>        <option value = "39">39</option>        <option value = "40">40 years old and over</option>    </select>        <label>Address<span>Required</span></label><input type = "text" name = "address" value = "" />  
          <label for = "rendou">Current status<span>Required</span></label>    <select name = "age">        <option>Not specified</option>        <option value = "working">in office</option>        <option value = "left">Retirement</option>        <option value = "parttime">part-time job</option>    </select>            <label>Email address<span>Required</span><span>Example) mail @ domain name</span></label><input type = "email" name = "mail_address_confirm" value = "" /><span >Example) mail @ domain name</span>            <label>Phone number<span>Required</span><span>Example) 080-0000-0000</span></label><input type = "tel" name = "phone" value = "" /><span>Example) 080-0000-0000</span>            <label>Desired date of interview<span>Required</span></label>                   <select name = "month">        <option value = "month">1</option>        <option value = "month">2</option>        <option value = "month">3</option>        <option value = "month">4</option>        <option value = "month">5</option>        <option value = "month">6</option>        <option value = "month">7</option>        <option value = "month">8</option>        <option value = "month">9</option>        <option value = "month">10</option>        <option value = "month">11</option>        <option value = "month">12</option>    </select>    <p>Month</p>            <select name = "day"><option value = "day">1</option>        <option value = "day">2</option>        <option value = "day">3</option>        <option value = "day">4</option>        <option value = "day">5</option>        <option value = "day">6</option>        <option value = "day">7</option>        <option value = "day">8</option>        <option value = "day">9</option>        <option value = "day">10</option>        <option value = "day">11</option>        <option value = "day">12</option>        <option value = "day">13</option>        <option value = "day">14</option>        <option value = "day">15</option>        <option value = "day">16</option>        <option value = "day">17</option>        <option value = "day">18</option>        <option value = "day">19</option>        <option value = "day">20</option>        <option value = "day">21</option>        <option value = "day">22</option>        <option value = "day">23</option>        <option value = "day">24</option>        <option value = "day">25</option>        <option value = "day">26</option>        <option value = "day">27</option>        <option value = "day">28</option>        <option value = "day">29</option>        <option value = "day">30</option>        <option value = "day">31</option>    </select>    <p>day</p><p><input type = "checkbox" name = "accept">" I agree to the Privacy Policy .</p><p><input type = "button" value = "Free consultation!" /></p><!-Form-container-></form>

mailform.php ↓

<? php
/ * ------------------------------------------------ --------------------------
    Script Name: Responsive Mailform
    Author: FIRSTSTEP --Motohiro Tani
    Author URL: https://www.1-firststep.com
    Create Date: 2014/03/25
    Version: 7.2.1
    Last Update: 2019/10/03
-------------------------------------------------- ------------------------ * /
if (file_exists (dirname (__FILE__).'/../addon/token/session.php')) {
    include (dirname (__FILE__).'/../addon/token/session.php');
}
error_reporting (E_ALL);
mb_language ('ja');
mb_internal_encoding ('UTF-8');
date_default_timezone_set ('Asia/Tokyo');
require_once (dirname (__FILE__).'/class.mailform.php');
$responsive_mailform = new Mailform ();
if (file_exists (dirname (__FILE__).'/../addon/confirm/confirm.php')) {
    include (dirname (__FILE__).'/ ../ addon/confirm/confirm.php');
}
$responsive_mailform->javascript_action_check ();
$responsive_mailform->referer_check ();
if (file_exists (dirname (__FILE__).'/../addon/token/token.php')) {
    include (dirname (__FILE__).'/../addon/token/token.php');
}
$responsive_mailform->post_check ('default');
if (file_exists (dirname (__FILE__).'/../addon/block/block.php')) {
    include (dirname (__FILE__).'/../addon/block/block.php');
}
$responsive_mailform->mail_set ('send');
$responsive_mailform->mail_set ('thanks');
if (file_exists (dirname (__FILE__).'/../addon/csv-record/include/csv.php')) {
    include (dirname (__FILE__).'/../addon/csv-record/include/csv.php');
}
$responsive_mailform->mail_send ();
$responsive_mailform->mail_result ();
?>
php