使用DIV进行邮件发送

时间:2017-11-19 01:36:17

标签: css email mailto mail-form

我正在尝试制作一个mailform,但它不起作用,最后3个代码行已经尝试过但没有运气,你能帮忙吗?谢谢!

<div class="contact-form">
    <h4 class="wow fadeIn animated">Send us a <span>Message</span></h4>

    <form method="post">
        <div class="form-group wow fadeIn animated">
            <label for="name">Name: </label>
            <input type="text" id="name" name="name" class="form-control">
        </div>
        <!-- /.form-group -->

        <div class="form-group wow fadeIn animated">
            <label for="email">Email: </label>
            <input type="email" id="email" name="email" class="form-control">
        </div>
        <!-- /.form-group -->


        <div class="form-group wow fadeIn animated">
            <label for="message">Message: </label>
            <textarea id="message" name="message" class="form-control" rows="4"></textarea>
        </div>
        <!-- /.form-group -->

        <input type="submit" class='btn btn-default wow fadeIn animated' value="email" onclick="window.location.href='mailto:info@millenniumcryptomining.com'">
        <button class="form-group wow fadeIn animated" type="submit">Submit</button>
        <button onclick="location.href='mailto:info@millenniumcryptomining.com';">Send mail</button>
    </form>
</div>

0 个答案:

没有答案