Html表单到我的gmail id

时间:2018-03-23 08:50:36

标签: html

我是否有可能在我的Gmail帐号上收到表单。我在html中创建了一个表单,我想将此表单提交给我的gmail id。

我的代码:

<label for="ContactFormQuantity"><strong>Quantity (Tons) </strong></label>
<input type="Number" id="ContactFormBirthday" name="contact[Quantity]" placeholder="Quantity" required>

{% assign name_attr = 'contact.form.name' | t | handle %}
<label for="ContactFormName" ><Strong> Name </Strong> </label>
<input type="text" id="ContactFormName" name="contact[{{ name_attr }}]" placeholder="Please Enter your Name" autocapitalize="words" value="{% if form[name_attr] %}{{ form[name_attr] }}{% elsif customer %}{{ customer.name }}{% endif %}">

<label for="ContactFormEmail"> <Strong> Email</Strong> </label>
<input type="email" id="ContactFormEmail" name="contact[email]" placeholder="Please make sure your email address is entered correctly." autocorrect="off" autocapitalize="off" value="{% if form.email %}{{ form.email }}{% elsif customer %}{{ customer.email }}{% endif %}">

{% assign name_attr = 'contact.form.phone' | t | handle %}
<label for="ContactFormPhone" class="label--hidden">{{ 'contact.form.phone' | t }}</label>
<input type="tel" id="ContactFormPhone" name="contact[{{ name_attr }}]" placeholder="{{ 'contact.form.phone' | t }}" pattern="[0-9\-]*" value="{% if form[name_attr] %}{{ form[name_attr] }}{% elsif customer %}{{ customer.phone }}{% endif %}">  
<label for="ContactFormMessage"><Strong> Message</Strong> </label>
<textarea rows="10" id="ContactFormMessage" name="contact[body]" placeholder="Enter Product Details and other specific requirements to rceive an accurate quote.">{% if form.body %}{{ form.body }}{% endif %}</textarea>

<input type="submit" class="btn right" value="{{ 'contact.form.send' | t }}">

{% endform %}

0 个答案:

没有答案