为什么我的html表单没有发送到相应的电子邮件

时间:2014-01-16 06:43:47

标签: forms

我的网站是http://astayoung.com/index-4.html

上的联系表单

我添加了表单操作=“MAILTO:astayoungart@gmail.com,希望提交按钮将其指向我的电子邮件地址。但它不起作用:(任何帮助将不胜感激:D

    <article class="span8 offset1">
      <h3 class="title-1">get in touch</h3>
      <div class="span7 left-0">
        <form id="contact-form">
          <div class="success"> Contact form submitted! <strong>We will be in touch soon.</strong> </div>
         <form action="MAILTO:astayoungart@gmail.com"> 
          <fieldset>
            <label class="name">
              <input type="text" value="Name:">
              <span class="error">*This is not a valid name.</span> <span class="empty">*This field is required.</span> </label>
            <label class="email">
              <input type="email" value="E-mail:">
              <span class="error">*This is not a valid email address.</span> <span class="empty">*This field is required.</span> </label>
            <label class="phone">
              <input type="tel" value="Phone:">
              <span class="error">*This is not a valid phone number.</span> <span class="empty">*This field is required.</span> </label>
            <label class="message">
              <textarea>Message:</textarea>
              <span class="error">*The message is too short.</span> <span class="empty">*This field is required.</span> </label>
            <div class="buttons-wrapper"> <a class="btn btn-1" data-type="reset">clear</a> <a class="btn btn-1" data-type="submit">submit</a></div>
          </fieldset>
        </form>

0 个答案:

没有答案